阅读背景:

如何从LINQ to SQL中删除子集合中的记录?

来源:互联网 

I have two tables in my database connected by foreign keys: Page (PageId, other data) and PageTag (PageId, Tag). I've used LINQ to generate classes for these tables, with the page as the parent and the Tag as the child collection (one to many relationship). Is there any way to mark PageTag records for deletion from the database from within the Page class?I have two tables in my database connected by f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: