diff options
-rw-r--r-- | Database/Database.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Database/Database.cs b/Database/Database.cs index f69028c..414162f 100644 --- a/Database/Database.cs +++ b/Database/Database.cs @@ -1,9 +1,11 @@ using System;
+using Classes;
using Microsoft.EntityFrameworkCore;
using MySql.Data.EntityFrameworkCore;
namespace Database {
- public class Database {
-
+ public class Database: DbContext {
+ public DbSet<Article> Articles;
+ public DbSet<Config> Configs;
}
}
|