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