using Microsoft.EntityFrameworkCore; namespace ApiPolo.Models.VT_dbcontext { /// public class VT_TIMBRATURE_DbContext : DbContext { /// public DbSet? Timbr { get; set; } /// public VT_TIMBRATURE_DbContext(DbContextOptions options) : base(options) { } /// protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToTable("TIMBRATURE"); modelBuilder.Entity().HasKey(table => new { table.id }); } } }