mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -35,12 +35,12 @@ namespace OrmTest.UnitTest
|
||||
Console.WriteLine(sql + " " + pars);
|
||||
};
|
||||
|
||||
var listx = db.Queryable<School, School>((st, st2) => new object[] {
|
||||
JoinType.Left,st.Id==st2.Id
|
||||
})
|
||||
.Where(st => st.Id > 0)
|
||||
.Select<Student, School, dynamic>((st, sc) => new { st, st.Id, stid = st.Id, scId = sc.Id }).ToList();
|
||||
return;
|
||||
//var listx = db.Queryable<School, School>((st, st2) => new object[] {
|
||||
// JoinType.Left,st.Id==st2.Id
|
||||
// })
|
||||
// .Where(st => st.Id > 0)
|
||||
// .Select<Student, School, dynamic>((st, sc) => new { st, st.Id, stid = st.Id, scId = sc.Id }).ToList();
|
||||
//return;
|
||||
var list = db.Queryable<School, School>((st, st2) => new object[] {
|
||||
JoinType.Left,st.Id==st2.Id
|
||||
}).Where<Student, School>((st, sc) => st.Id > 0)
|
||||
|
Reference in New Issue
Block a user