23 lines
695 B
C#
23 lines
695 B
C#
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace ApiPolo.Models.Lift_web_dbcontext
|
|
{
|
|
/// <summary>Rapportini</summary>
|
|
public class LIFT_WEB_RAPPORTINIDbContext : DbContext
|
|
{
|
|
/// <summary>Rapportini</summary>
|
|
public DbSet<Rappmast>? rapp { get; set; }
|
|
|
|
/// <summary>ConfigurazioniDbContext</summary>
|
|
public LIFT_WEB_RAPPORTINIDbContext(DbContextOptions<LIFT_WEB_RAPPORTINIDbContext> options) : base(options)
|
|
{
|
|
}
|
|
/// <summary>OnModelCreating</summary>
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
modelBuilder.Entity<Rappmast>().ToView("API_RAPPORTINI");
|
|
}
|
|
}
|
|
}
|