This commit is contained in:
2020-05-25 13:17:28 +00:00
parent 5610ba3944
commit db312efd7d
5 changed files with 50 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ namespace AyaNova.Models
{
public partial class AyContext : DbContext
{
public virtual DbSet<MetricCPU> MetricCPU { get; set; }
public virtual DbSet<MetricMM> MetricMM { get; set; }
public virtual DbSet<User> User { get; set; }
public virtual DbSet<UserOptions> UserOptions { get; set; }
public virtual DbSet<Widget> Widget { get; set; }
@@ -127,7 +127,7 @@ namespace AyaNova.Models
//modelBuilder.Entity<PurchaseOrder>().Property(z => z.Serial).UseIdentityByDefaultColumn();
modelBuilder.Entity<MetricCPU>().HasNoKey();
//modelBuilder.Entity<MetricCPU>().HasNoKey();
///////////////////////////////////////////////////////////////////////
//TODO: this entire block is almost certainly wrong or not required