Skip to content

Commit

Permalink
- 修复 Where(HzyTuple) 参数为 null 时的错误;#1744
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Mar 7, 2024
1 parent 6f4cdc6 commit 718d708
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 311 deletions.
4 changes: 4 additions & 0 deletions Examples/base_entity/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,10 @@ static void Main(string[] args)
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" });
Expand Down
9 changes: 9 additions & 0 deletions FreeSql.DbContext/FreeSql.DbContext.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 718d708

Please sign in to comment.