- 修复 JsonMap 序列化判断 bug;

This commit is contained in:
2881099
2020-12-26 10:42:43 +08:00
parent 4f4033a865
commit 60a5a630dd
3 changed files with 187 additions and 223 deletions

View File

@ -135,9 +135,9 @@ namespace FreeSql.Tests.SqlServerExpression
w.UserName,
<EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD>ɫ = string.Join(",", repo.Orm
.Select<StringJoin02UserRole, StringJoin02Role>()
.LeftJoin((a, c) => a.RoleId == c.Id)
.Where((a, c) => a.UserId == w.Id)
.ToList((a, c) => c.RoleName))
.LeftJoin((b, c) => b.RoleId == c.Id)
.Where((b, c) => b.UserId == w.Id)
.ToList((b, c) => c.RoleName))
});
Assert.Equal(2, result.Count);
Assert.Equal(users[0].Id, result[0].Id);