using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models
{
/// ConfigurazioniDbContext
public class ConfigurazioniDbContext : DbContext
{
/// conf
public DbSet? conf { get; set; }
/// ConfigurazioniDbContext
public ConfigurazioniDbContext(DbContextOptions options) : base(options)
{
}
/// OnModelCreating
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToTable("Configurazioni");
}
}
}