ApiManutenzioni/ApiPolo/Models/Security_dbcontext/SECURITY_MANPROG_TECDbContext.cs
2024-04-23 15:19:58 +02:00

24 lines
642 B
C#

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