- 优化 UpdateJoin .Set 固定值解析;

This commit is contained in:
2881099
2023-03-24 16:15:25 +08:00
parent 561b10331f
commit b2f484dbc4
3 changed files with 29 additions and 4 deletions

View File

@ -586,6 +586,10 @@ namespace base_entity
.Join<UserGroup>((a, b) => a.GroupId == b.Id)
.Set((a, b) => a.Nickname == b.GroupName)
.ExecuteAffrows();
var updatejoin03 = fsql.Update<User1>()
.Join<UserGroup>((a, b) => a.GroupId == b.Id)
.Set((a, b) => a.Nickname == "b.groupname")
.ExecuteAffrows();
var sql1c2 = fsql.Select<User1>()
.GroupBy(a => new { a.Nickname, a.Avatar })