mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-21 18:48:27 +08:00
add unit test
This commit is contained in:
@@ -86,6 +86,11 @@ namespace OrmTest
|
|||||||
.Where(it => SqlFunc.Exists(it.SchoolA.School_Name, conditionalModels))
|
.Where(it => SqlFunc.Exists(it.SchoolA.School_Name, conditionalModels))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
|
||||||
|
List<IConditionalModel> conditionalModels2 = new List<IConditionalModel>();
|
||||||
|
var list2121 = db.Queryable<StudentA>()
|
||||||
|
.Where(it => SqlFunc.Exists(it.SchoolA.School_Name, conditionalModels2))
|
||||||
|
.ToList();
|
||||||
Check.Exception(string.Join(",", list22.Select(it => it.StudentId)) != string.Join(",", list33.Select(it => it.StudentId)), "unit error");
|
Check.Exception(string.Join(",", list22.Select(it => it.StudentId)) != string.Join(",", list33.Select(it => it.StudentId)), "unit error");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user