Loading

Entity Framework Cascading Deletes

It’s important to note that a cascading delete in the Entity Framework works only if the de-
pendent entity objects are loaded. This can be accomplished using the Include or Load meth-
ods.

posted @ 2012-05-08 14:22  .net's  阅读(330)  评论(0编辑  收藏  举报