mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 Where(HzyTuple) 参数为 null 时的错误;#1744
This commit is contained in:
@ -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" });
|
||||
|
Reference in New Issue
Block a user