Skip to content

Commit 7805b3e

Browse files
committed
Remove commented code
1 parent 243d9a7 commit 7805b3e

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

src/Services/Catalog/Catalog.API/Infrastructure/CatalogContext.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ public CatalogContext(DbContextOptions<CatalogContext> options) : base(options)
1313
public DbSet<CatalogItem> CatalogItems { get; set; }
1414
public DbSet<CatalogBrand> CatalogBrands { get; set; }
1515
public DbSet<CatalogType> CatalogTypes { get; set; }
16-
//public DbSet<IntegrationEventLogEntry> IntegrationEventLog { get; set; }
1716

1817
protected override void OnModelCreating(ModelBuilder builder)
1918
{
2019
builder.Entity<CatalogBrand>(ConfigureCatalogBrand);
2120
builder.Entity<CatalogType>(ConfigureCatalogType);
2221
builder.Entity<CatalogItem>(ConfigureCatalogItem);
23-
//builder.Entity<IntegrationEventLogEntry>(ConfigureIntegrationEventLogEntry);
2422
}
2523

2624
void ConfigureCatalogItem(EntityTypeBuilder<CatalogItem> builder)
@@ -79,31 +77,5 @@ void ConfigureCatalogType(EntityTypeBuilder<CatalogType> builder)
7977
.IsRequired()
8078
.HasMaxLength(100);
8179
}
82-
83-
//void ConfigureIntegrationEventLogEntry(EntityTypeBuilder<IntegrationEventLogEntry> builder)
84-
//{
85-
// builder.ToTable("IntegrationEventLog");
86-
87-
// builder.HasKey(e => e.EventId);
88-
89-
// builder.Property(e => e.EventId)
90-
// .IsRequired();
91-
92-
// builder.Property(e => e.Content)
93-
// .IsRequired();
94-
95-
// builder.Property(e => e.CreationTime)
96-
// .IsRequired();
97-
98-
// builder.Property(e => e.State)
99-
// .IsRequired();
100-
101-
// builder.Property(e => e.TimesSent)
102-
// .IsRequired();
103-
104-
// builder.Property(e => e.EventTypeName)
105-
// .IsRequired();
106-
107-
//}
10880
}
10981
}

0 commit comments

Comments
 (0)