using Microsoft.EntityFrameworkCore; namespace ApiSoftway.Models.Gesa_DbContext { public class GESA_AUTOMEZZI_DbContext : DbContext { public DbSet? Automezzi { get; set; } public GESA_AUTOMEZZI_DbContext(DbContextOptions options): base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToTable("GESASAUTOMEZZI"); } } }