mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-11 19:01:00 +08:00
update
@@ -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.
|
||||
|
||||
2
联级保存.md
2
联级保存.md
@@ -28,8 +28,6 @@ repo.SaveMany(type, "Topics"); //手工完整保存 Topics
|
||||
- 只保存 Topics,不向下递归追朔
|
||||
- 当 Topics 为 Empty 时,删除 type 存在的 Topics 所有表数据,确认?
|
||||
|
||||
---
|
||||
|
||||
## EnableCascadeSave 仓储级联保存
|
||||
|
||||
DbContext/Repository EnableCascadeSave 可实现保存对象的时候,递归追朔其 OneToOne/OneToMany/ManyToMany 导航属性也一并保存,本文档说明机制防止误用。
|
||||
|
||||
Reference in New Issue
Block a user