diff --git a/Cascade-Saving.md b/Cascade-Saving.md index 73f0bb0..8e4c15e 100644 --- a/Cascade-Saving.md +++ b/Cascade-Saving.md @@ -28,8 +28,6 @@ repo.SaveMany(type, "Topics"); //Manually and completely save topics -Save only topics, not downward recursive tracing -When topics is empty, delete all table data of topics existing in type, and confirm? ---- - ## EnableCascadeSave warehouse cascade save Dbcontext / repository EnableCascadeSave can realize recursive tracing and save the OneToOne/OneToMany/ManyToMany navigation attributes when saving objects. This document describes the mechanism to prevent misuse. diff --git a/联级保存.md b/联级保存.md index a30f0e5..37956da 100644 --- a/联级保存.md +++ b/联级保存.md @@ -28,8 +28,6 @@ repo.SaveMany(type, "Topics"); //手工完整保存 Topics - 只保存 Topics,不向下递归追朔 - 当 Topics 为 Empty 时,删除 type 存在的 Topics 所有表数据,确认? ---- - ## EnableCascadeSave 仓储级联保存 DbContext/Repository EnableCascadeSave 可实现保存对象的时候,递归追朔其 OneToOne/OneToMany/ManyToMany 导航属性也一并保存,本文档说明机制防止误用。