mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Add unit test
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
@@ -22,7 +23,13 @@ namespace OrmTest
|
|||||||
new SqlSugar.JoinQueryInfos(SqlSugar.JoinType.Left, x.ID == t.ID, SqlSugar.JoinType.Left, x.ID == t2.ID)
|
new SqlSugar.JoinQueryInfos(SqlSugar.JoinType.Left, x.ID == t.ID, SqlSugar.JoinType.Left, x.ID == t2.ID)
|
||||||
)
|
)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
var list3 = db.Queryable<UnitOrderA01> ()
|
||||||
|
.Select(it=>new {
|
||||||
|
x=SqlFunc.Subqueryable<UnitOrderB02>().EnableTableFilter().Select(s=>s.ID)
|
||||||
|
})
|
||||||
|
.ToList();
|
||||||
|
|
||||||
}
|
}
|
||||||
public interface IDeleted
|
public interface IDeleted
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user