LINQ in Action roller

Updating a many-to-one join by setting ID linq-2-Sql

Hi, Im trying to insert a new element which joins to another element (many-to-one) by setting the FK ID to the id of the joined element however i get an "An attempt was made to remove a relationship between a ResourceList and a Resource. However, one of the relationship's foreign keys (Resource.ResourceListID) cannot be set to null." error. I can set the join member to an actual object instance, however when I Serailize it to the WCF data service the one-to-many join item is lost as the serialization Read More...
Published Thursday, June 19, 2008 6:34 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication