LINQ in Action roller

Problems with not owned references

Hi, I have some problems choosing correct pattern for working with not owned references. Let say that you have a Person object and this person object has a PrimaryAddress reference. This PrimaryAddress reference is not owned by Person so Address object must not be created and/or updated through Person object, only reference key (PrimaryAddressID) in Person should be changed if necessary. But if you use EntityRef with Association attribute and you create new Person object and than you set PrimaryAddrress Read More...
Published Tuesday, June 26, 2007 12:53 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog