mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 IUpdateJoin + 全局过滤器 + 从表不生效问题;#1612
This commit is contained in:
@ -600,6 +600,13 @@ 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")
|
||||
.ToSql();
|
||||
|
||||
fsql.UseJsonMap();
|
||||
fsql.Select<MiDevice>().Where(a => a.FormLocking == null).Count();
|
||||
|
||||
|
Reference in New Issue
Block a user