mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 UpdateJoin 与全局过滤器别名问题;#1612
This commit is contained in:
@ -600,6 +600,8 @@ namespace base_entity
|
||||
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
|
||||
#endregion
|
||||
|
||||
fsql.GlobalFilter.Apply<User1>("test01", a => a.IsDeleted == false);
|
||||
|
||||
var updatejoin031sql = fsql.Update<User1>()
|
||||
.Join<UserGroup>((a, b) => a.GroupId == b.Id)
|
||||
.Set((a, b) => b.GroupName == a.Username + "b.groupname")
|
||||
|
Reference in New Issue
Block a user