1 2 3 4 5 6 7 8 9 10 11
using System; using Classes; using Microsoft.EntityFrameworkCore; using MySql.Data.EntityFrameworkCore; namespace Database { public class Database: DbContext { public DbSet<Article> Articles; public DbSet<Config> Configs; } }