mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
v3.2.802-preview20231024
This commit is contained in:
@ -601,8 +601,8 @@ namespace base_entity
|
||||
#endregion
|
||||
|
||||
var updatejoin031sql = fsql.Update<User1>()
|
||||
.Join<UserGroup>((a, b) => a.GroupId == b.Id)
|
||||
.AsTable("t1", "t2")
|
||||
.Join<UserGroup>(fsql.Select<UserGroup>().Where(a => a.GroupName == "xxx"), (a, b) => a.GroupId == b.Id)
|
||||
.AsTable("t1", null)
|
||||
.Set((a, b) => b.GroupName == a.Username + "b.groupname")
|
||||
.ToSql();
|
||||
|
||||
|
Reference in New Issue
Block a user