- 修复 Where(HzyTuple) 参数为 null 时的错误;#1744

This commit is contained in:
2881099
2024-03-07 17:58:24 +08:00
parent 6f4cdc65fc
commit 718d7087c0
4 changed files with 313 additions and 311 deletions

View File

@ -610,6 +610,10 @@ namespace base_entity
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
#endregion
Expression<Func<HzyTuple<User1, UserGroup, User1, User1, User1, User1>, bool>> where111 = null;
//where111 = where111.Or(a => a.t6.Sort > 10);
var tsqlqlq1 = fsql.Select<User1, UserGroup, User1, User1, User1, User1>().Where(where111).ToSql();
// 交叉引用类型先定义两个类型再Build
var channelBuilder = fsql.CodeFirst.DynamicEntity("Channel", new TableAttribute { Name = "dm_channel" });