using Microsoft.EntityFrameworkCore; namespace ApiSoftway.Models.Gesa_DbContext { public class GESA_GIRICONSEGNEDACREARE_DbContext : DbContext { public DbSet? GiriDaCreare { get; set; } public GESA_GIRICONSEGNEDACREARE_DbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToView("API_GIRICONSEGNA_DA_CREARE"); } } }