Remove commented code
This commit is contained in:
parent
0c317d56f3
commit
ccde4a09f4
@ -13,14 +13,12 @@
|
|||||||
public DbSet<CatalogItem> CatalogItems { get; set; }
|
public DbSet<CatalogItem> CatalogItems { get; set; }
|
||||||
public DbSet<CatalogBrand> CatalogBrands { get; set; }
|
public DbSet<CatalogBrand> CatalogBrands { get; set; }
|
||||||
public DbSet<CatalogType> CatalogTypes { get; set; }
|
public DbSet<CatalogType> CatalogTypes { get; set; }
|
||||||
//public DbSet<IntegrationEventLogEntry> IntegrationEventLog { get; set; }
|
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder builder)
|
protected override void OnModelCreating(ModelBuilder builder)
|
||||||
{
|
{
|
||||||
builder.Entity<CatalogBrand>(ConfigureCatalogBrand);
|
builder.Entity<CatalogBrand>(ConfigureCatalogBrand);
|
||||||
builder.Entity<CatalogType>(ConfigureCatalogType);
|
builder.Entity<CatalogType>(ConfigureCatalogType);
|
||||||
builder.Entity<CatalogItem>(ConfigureCatalogItem);
|
builder.Entity<CatalogItem>(ConfigureCatalogItem);
|
||||||
//builder.Entity<IntegrationEventLogEntry>(ConfigureIntegrationEventLogEntry);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureCatalogItem(EntityTypeBuilder<CatalogItem> builder)
|
void ConfigureCatalogItem(EntityTypeBuilder<CatalogItem> builder)
|
||||||
@ -79,31 +77,5 @@
|
|||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(100);
|
.HasMaxLength(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
//void ConfigureIntegrationEventLogEntry(EntityTypeBuilder<IntegrationEventLogEntry> builder)
|
|
||||||
//{
|
|
||||||
// builder.ToTable("IntegrationEventLog");
|
|
||||||
|
|
||||||
// builder.HasKey(e => e.EventId);
|
|
||||||
|
|
||||||
// builder.Property(e => e.EventId)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
// builder.Property(e => e.Content)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
// builder.Property(e => e.CreationTime)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
// builder.Property(e => e.State)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
// builder.Property(e => e.TimesSent)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
// builder.Property(e => e.EventTypeName)
|
|
||||||
// .IsRequired();
|
|
||||||
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user