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