using Microsoft.EntityFrameworkCore; using Renis.Database.Models; namespace Renis.Database; public class ApplicationContext : DbContext { public DbSet Users { get; set; } = null!; public DbSet Polises { get; set; } = null!; public DbSet UserPolises { get; set; } = null!; public DbSet Cars { get; set; } = null!; public ApplicationContext(DbContextOptions options) : base(options) { Database.EnsureCreated(); } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { } }