Browse Source

Remove commented code

pull/173/head
dsanz 7 years ago
parent
commit
ccde4a09f4
1 changed files with 0 additions and 28 deletions
  1. +0
    -28
      src/Services/Catalog/Catalog.API/Infrastructure/CatalogContext.cs

+ 0
- 28
src/Services/Catalog/Catalog.API/Infrastructure/CatalogContext.cs View File

@ -13,14 +13,12 @@
public DbSet<CatalogItem> CatalogItems { get; set; }
public DbSet<CatalogBrand> CatalogBrands { get; set; }
public DbSet<CatalogType> CatalogTypes { get; set; }
//public DbSet<IntegrationEventLogEntry> IntegrationEventLog { get; set; }
protected override void OnModelCreating(ModelBuilder builder)
{
builder.Entity<CatalogBrand>(ConfigureCatalogBrand);
builder.Entity<CatalogType>(ConfigureCatalogType);
builder.Entity<CatalogItem>(ConfigureCatalogItem);
//builder.Entity<IntegrationEventLogEntry>(ConfigureIntegrationEventLogEntry);
}
void ConfigureCatalogItem(EntityTypeBuilder<CatalogItem> builder)
@ -79,31 +77,5 @@
.IsRequired()
.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…
Cancel
Save