amzing progress, wokrs like are charme..... NOT! HEHEHE

This commit is contained in:
2022-05-04 13:01:48 +02:00
parent b685f85f4a
commit b98c477d68
3 changed files with 7 additions and 49 deletions

View File

@@ -10,16 +10,9 @@ namespace it_projekt
{
class Database : DbContext
{
public DbSet<Person> persons { get; set; }
public Database()
: base()
{
}
public Database(DbConnection existingConnection, bool contextOwnsConnection)
: base(existingConnection, contextOwnsConnection)
public virtual DbSet<Person> persons { get; set; }
public Database(String connectionString)
: base(connectionString)
{
}