mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 12:09:29 +08:00
Add unit test
This commit is contained in:
@@ -12,8 +12,8 @@ namespace OrmTest
|
||||
var db = NewUnitTest.Db;
|
||||
db.CodeFirst.InitTables<EmpLicenseLogOff, EmpInformation, EmpDepartmentJob,EmpLicense>();
|
||||
db.Queryable<EmpLicenseLogOff>()
|
||||
.Where(it => it.EmpLicense.EmpInformation.EmpDepartmentJobs.Any(z => z.DepId == 1))
|
||||
.ToList();
|
||||
.Where(it => it.EmpLicense.EmpInformation.EmpDepartmentJobs.Any())
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user