mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-17 19:37:34 +08:00
Add unit test
This commit is contained in:
parent
55ddd3d199
commit
8134b7fcc7
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user