using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Ferrari_dbcontext
{
///
public class FERRA_RAPPORTINIDbContext: DbContext
{
/// Rapportini
public DbSet? rapp { get; set; }
/// ConfigurazioniDbContext
public FERRA_RAPPORTINIDbContext(DbContextOptions options) : base(options)
{
}
/// OnModelCreating
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToView("API_RAPPORTINI");
}
}
}