mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Add demo
This commit is contained in:
parent
be6bf7714c
commit
f157043be0
@ -83,6 +83,17 @@ namespace Test
|
|||||||
.AddJoinInfo("orderdetail", "d", onList, JoinType.Left)
|
.AddJoinInfo("orderdetail", "d", onList, JoinType.Left)
|
||||||
.Select(selectItems)
|
.Select(selectItems)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
var selectItems2 = new List<SelectModel>() {
|
||||||
|
new SelectModel()
|
||||||
|
{
|
||||||
|
AsName = "o.id",
|
||||||
|
FiledName = "o.id"
|
||||||
|
} };
|
||||||
|
var x2 = jsonToSqlClient.Context.Queryable<object>()
|
||||||
|
.AS("order", "o")
|
||||||
|
.AddJoinInfo("orderdetail", "d", onList, JoinType.Left)
|
||||||
|
.Select(selectItems2, AsNameFormatType.NoConvert)
|
||||||
|
.ToList();
|
||||||
var json = @"
|
var json = @"
|
||||||
{
|
{
|
||||||
""Table"":[ ""order"",""o""],
|
""Table"":[ ""order"",""o""],
|
||||||
|
Loading…
Reference in New Issue
Block a user