- 修复 MySql8.0.30 无法使用 ExecuteInserted 的问题;#2001

This commit is contained in:
2881099
2025-03-27 23:47:30 +08:00
parent e1faaa1f5a
commit f861c9da6e
9 changed files with 169 additions and 151 deletions

View File

@@ -621,6 +621,8 @@ namespace base_entity
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
#endregion
fsql.Insert(new User1()).ExecuteInserted();
fsql.InsertOrUpdate<AppInfoEntity>().SetSource(new AppInfoEntity { AppID = "03DN8CW8", AppName = "app_01" }).ExecuteAffrows();
var repo2211 = fsql.GetRepository<AppInfoEntity>();