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