Pages

August 08, 2012

Unable to update the EntitySet

Error:
Unable to update the EntitySet 'XYZ' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.

Solution:
Just add Primary Key for your Table in Database or DataModel (edmx file).

2 comments:

  1. I wish people would write more about this as you have done. This is something that is very important and has been largely overlooked by the internet community

    ReplyDelete

  2. Very good blog post. I definitely love this website. Thanks!

    ReplyDelete