In Entity Framework how do I map a composite key through the XML in EDMX file? -


i see posts on programmatically mapping table composite key haven't found examples within xml of edmx file. how do this? in edmx of entity type have key section multiple propertyref's pointing composite key. however, when go save changes errors , states there no update function.

it seems me, if mark 1 key primary key , can manage should able use composite key well.

please not reply , state shouldn't using composite keys because don't care , have no ability change it. didn't develop database third-party erp application i'm interfacing with.

from can tell may have create stored procedure save it? isn't there better way?

thank you.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -