using System; using Classes; using Microsoft.EntityFrameworkCore; using MySql.Data.EntityFrameworkCore; namespace Database { public class Database: DbContext { public DbSet
Articles; public DbSet Configs; protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { // optionsBuilder.UseMySQL("server=localhost;uid") } } }