using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Entity; using Microsoft.EntityFrameworkCore; namespace Contextlib { public class WTFContext : DbContext { public DbSet Images { get; set; } public DbSet Users { get; set; } //public DbSet Admin { get; set; } public DbSet Question { get; set; } public DbSet Quiz { get; set; } //public DbSet QuizQuestion { get; set; } //public DbSet RecordQuiz { get; set; } public DbSet Source { get; set; } public DbSet Character { get; set; } public DbSet Quote { get; set; } //public DbSet DailyQuote { get; set; } //public DbSet Favorite { get; set; } //public DbSet Commentary { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder options) => options.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=myFirstDatabase.mdf;Trusted_Connection=True;"); } }