mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Support .Select ((S1, SC) =>sc).ToList()
This commit is contained in:
@@ -335,6 +335,11 @@ namespace OrmTest.Demo
|
||||
.OrderBy(st => st.Id, OrderByType.Desc)
|
||||
.OrderBy((st, sc) => sc.Id, OrderByType.Desc)
|
||||
.Select((st, sc) => new { Name = st.Name, SchoolId = sc.Id }).ToList();
|
||||
|
||||
|
||||
var s7 = db.Queryable<Student, School>((st, sc) => new object[] {
|
||||
JoinType.Left,st.SchoolId==sc.Id
|
||||
}).Select((st, sc) => sc).ToList();
|
||||
}
|
||||
private static void Sqlable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user