2

Closed

Consider using primary keys in other many-to-many APIs

description

Based on this API for stored proc mapping it would be nice to take this use of primary key properties to make the other LeftKey and RightKey API easier to understand:
modelBuilder
    .Entity<Tag>()
    .HasMany(t => t.Products)
    .WithMany(p => p.Tags)
    .MapToStoredProcedures(
        map =>
        {
            map.Insert(
            f =>
            {
                f.HasName("ins_product_tag");
                f.LeftKeyParameter(t => t.Id, "tag_id");
                f.RightKeyParameter(p => p.Id, "product_id");
            });
            map.Delete(
            f =>
            {
                f.HasName("del_product_tag", "bar");
                f.LeftKeyParameter(t => t.Id, "tag_id");
                f.RightKeyParameter(p => p.Id, "product_id");
            });
        });
Closed Oct 3, 2013 at 7:26 PM by RoMiller
EF Team Triage: As we start to plan the releases that follow EF6 we are doing a large triage effort on our backlog of bugs, features and tasks. Our aim is to have our backlog be a realistic representation of what we (or our contributors) may add to EF in the future.
 
This reduces the number of issues we need to sift thru as we plan each release. For example, coming into the planning for the set of releases after EF6 we had 600+ items on the backlog. A large number of these items are very low priority and will realistically never be addressed.
 
As a result of this we are closing a number of items as “Won’t Fix”. These items fall into one of the following buckets:
  • Items that are either low priority or expensive to implement and we don’t believe provide enough benefit to outweigh the cost of implementing (given that time spent implementing them would detract from implementing other features).
  • Items created by a member of the EF Team that we have not seen customers asking for and we don’t believe would provide significant benefit to customers.
  • Bugs that only manifest in corner cases and have workarounds.
     
    These decisions are not final, if you disagree with this resolution for an item feel free to let us know.

comments