remove TODOs no longer needed

This commit is contained in:
Collin M. Barrett 2017-11-01 06:40:49 -05:00
parent dfefc67008
commit b124b667b3

View file

@ -10,9 +10,6 @@ public override void Configure(EntityTypeBuilder<Fork> entityTypeBuilder)
{
entityTypeBuilder.ToTable("forks");
entityTypeBuilder.HasKey(x => new {x.ForkFilterListId, x.UpstreamFilterListId});
//https://stackoverflow.com/questions/47053627/configure-foreign-keys-to-the-same-entity-in-junction-entity-via-fluent-api-in-i
//TODO: Configure foreign key mapping from ForkFilterListId to FilterList.Id
//TODO: Configure foreign key mapping from UpstreamFilterListId to FilterList.Id
entityTypeBuilder.Ignore(x => x.Id);
base.Configure(entityTypeBuilder);
}