using ApiPolo.Models.Ferrari_dbcontext;
using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Sarom_dbcontext
{
///
public class SAROM_IMPIANTIDbContext : DbContext
{
///
public DbSet? Impia { get; set; }
///
public SAROM_IMPIANTIDbContext(DbContextOptions options) : base(options)
{
}
///
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToView("API_IMPIANTI");
}
}
}