28 lines
523 B
C#
28 lines
523 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Data.Common;
|
|
using System.Data.Entity;
|
|
|
|
namespace it_projekt
|
|
{
|
|
class Database : DbContext
|
|
{
|
|
public DbSet<Person> persons { get; set; }
|
|
|
|
public Database()
|
|
: base()
|
|
{
|
|
|
|
|
|
}
|
|
public Database(DbConnection existingConnection, bool contextOwnsConnection)
|
|
: base(existingConnection, contextOwnsConnection)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|