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