LINQ in Action roller

insert on a table that has relationships

Hello I have 2 tables, say A and B. B hold a foreign key from A I need to do an insert into A. The problem I meet is that Linq try to do an insert into B as well, but I just want an insert into B. Is there a way at InsertOnSubmit level or other to tell Linqs: just care A table as if there was no relation between A and B? thanks Read More...
Published Wednesday, May 21, 2008 10:45 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication