using Microsoft.EntityFrameworkCore; using BelovAPI.ModelBase; namespace BelovAPI.BaseConnection { public class ApplicationContext : DbContext { public DbSet User { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlServer(Constans.SqlConnection); } } }