Last post Nov 17, 2010 09:13 AM by swethab
Nov 12, 2010 11:23 AM|swethab|LINK
I am new to dynamicdata concept but it is quite easy to use..I have few tables some of them has primary key and some don't. I have no problem with the tables which has primary key . I am able to perform add/edit/delete operations perfectly. But I have few
tables with no primary key but they just have the foreign keys. these are kind of Map tables. I don't see add/edit/delete operations to these tables?? I just tried adding a primary key to one of Map table and it works!!! Just wondering if there is any way
to get theses operations without primary key...
Nov 12, 2010 06:30 PM|sjnaughton|LINK
Hi Swethab, sorry no both Linq to SQL and Entity Framework require primary key to work, they use the PK for change tracking etc.
Dynamic Data 4
Nov 17, 2010 09:13 AM|swethab|LINK
Thanks for the reply Steve I have created a primary key for all my map tables and problem solved. Thanks again..