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