From 7260566b63680a6b18f51c27469c9156843d093a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 4 Feb 2019 11:53:50 +0000 Subject: Implemented basic tables in entity framework --- Database/Database.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Database/Database.cs') 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
Articles; + public DbSet Configs; } } -- cgit v1.2.3-13-gbd6f