Skip to content

Commit fa3aa8e

Browse files
2881028810
authored andcommitted
- 调整 DbContext/Repository EnableAddOrUpdateNavigateList 默认关闭;
1 parent b9b0be8 commit fa3aa8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FreeSql.DbContext/DbContext/DbContextOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class DbContextOptions
2020
/// - 属性集合为空时,删除他们的所有关联数据(中间表)
2121
/// - 属性集合不为空时,与数据库存在的关联数据(中间表)完全对比,计算出应该删除和添加的记录
2222
/// </summary>
23-
public bool EnableAddOrUpdateNavigateList { get; set; } = true;
23+
public bool EnableAddOrUpdateNavigateList { get; set; } = false;
2424

2525
/// <summary>
2626
/// 实体变化事件

0 commit comments

Comments
 (0)