using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WpfApp1.Models; namespace WpfApp1 { public class ApplicationContext : DbContext { public DbSet Role { get; set; } = null!; public DbSet Users { get; set; } = null!; public DbSet Clients { get; set; } = null!; public DbSet OrderStatus { get; set; } = null!; public DbSet Orders { get; set; } = null!; protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlite("Data Source=data.db"); } } }