In the first version of Entity Framework, if you wanted to create a PK/FK association between entities where there was no such constraint defined in the database you have to manually edit the SSDL (and lose that edit if you update the model from db). Why would you want to do this? The typical use case is when you are stuck with a database that is poorly designed and you are not allowed to make changes to it. In Entity Framework 4, as long as the Primary Keys are defined in the db (otherwise the entitie...
|
5
Shouts |
|
|||
No comments yet, be the first one to post comment.