using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Tedesco_dbcontext
{
///
public class TEDES_COMPO_IMPIADbContext:DbContext
{
///
public DbSet? Componen { get; set; }
///
public TEDES_COMPO_IMPIADbContext(DbContextOptions options) : base(options)
{
}
///
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToView("API_MICOMIMP");
}
}
}