diff --git a/ApiPolo/Models/VT_dbcontext/VT_ARTICOLI_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_ARTICOLI_TABLE_DbContext.cs index d11a428..607f1fc 100644 --- a/ApiPolo/Models/VT_dbcontext/VT_ARTICOLI_TABLE_DbContext.cs +++ b/ApiPolo/Models/VT_dbcontext/VT_ARTICOLI_TABLE_DbContext.cs @@ -1,16 +1,19 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.Collections.Generic; namespace ApiPolo.Models.VT_dbcontext { public class VT_ARTICOLI_TABLE_DbContext : DbContext { + + public DbSet Articoli { get; set; } + + public VT_ARTICOLI_TABLE_DbContext(DbContextOptions options) : base(options) { } - public DbSet Articoli { get; set; } - protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToTable("Articoli");