mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-02 03:13:58 +08:00
-
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OrmTest.UnitTest
|
||||
var list = db.Queryable<School,School>((st,st2)=>new object[] {
|
||||
JoinType.Left,st.Id==st2.Id
|
||||
})
|
||||
.Where(st => st.Id > 0)
|
||||
.Where<Student,School>((st,sc) => st.Id > 0)
|
||||
.Select(st => new ViewModelStudent { School=st}).ToList();
|
||||
|
||||
var list2 = db.Queryable<Student>()
|
||||
|
||||
Reference in New Issue
Block a user