ApiManutenzioni/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MANPROG_TECDbContext.cs
2024-01-23 11:59:33 +01:00

23 lines
637 B
C#

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