update

2881099
2022-05-05 08:51:40 +08:00
parent ac82bd00a9
commit ccfa1981a9
2 changed files with 0 additions and 4 deletions

@@ -28,8 +28,6 @@ repo.SaveMany(type, "Topics"); //Manually and completely save topics
-Save only topics, not downward recursive tracing -Save only topics, not downward recursive tracing
-When topics is empty, delete all table data of topics existing in type, and confirm? -When topics is empty, delete all table data of topics existing in type, and confirm?
---
## EnableCascadeSave warehouse cascade save ## 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. 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.

@@ -28,8 +28,6 @@ repo.SaveMany(type, "Topics"); //手工完整保存 Topics
- 只保存 Topics不向下递归追朔 - 只保存 Topics不向下递归追朔
- 当 Topics 为 Empty 时,删除 type 存在的 Topics 所有表数据,确认? - 当 Topics 为 Empty 时,删除 type 存在的 Topics 所有表数据,确认?
---
## EnableCascadeSave 仓储级联保存 ## EnableCascadeSave 仓储级联保存
DbContext/Repository EnableCascadeSave 可实现保存对象的时候,递归追朔其 OneToOne/OneToMany/ManyToMany 导航属性也一并保存,本文档说明机制防止误用。 DbContext/Repository EnableCascadeSave 可实现保存对象的时候,递归追朔其 OneToOne/OneToMany/ManyToMany 导航属性也一并保存,本文档说明机制防止误用。