Skip to content

Commit

Permalink
Update repository.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 authored Feb 26, 2024
1 parent f02a415 commit b28e13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ SqlServer 提供的 output inserted 特性,在表使用了自增或数据库
| Attach | - | IEnumerable\<TEntity\> | 批量附加实体到状态管理 |
| AttachOnlyPrimary | - | TEntity | 只附加实体的主键数据到状态管理 |
| [SaveMany](cascade-saving.html) | - | TEntity, string | 保存实体的指定 ManyToMany/OneToMany 导航属性(完整对比) |
| [BeginEdit](insert-or-update.html#_4%E3%80%81beginedit-%E6%89%B9%E9%87%8F%E7%BC%96%E8%BE%91) | - | List\<TEntity\> | 准备编辑一个 List 实体 |
| [BeginEdit](insert-or-update.html#_5%E3%80%81beginedit-%E6%89%B9%E9%87%8F%E7%BC%96%E8%BE%91) | - | List\<TEntity\> | 准备编辑一个 List 实体 |
| EndEdit | int || 完成编辑数据,进行保存动作 |

> 状态管理,可实现 Update 只更新变化的字段(不更新所有字段),灵活使用 Attach 和 Update 用起来非常舒服。

0 comments on commit b28e13a

Please sign in to comment.