This commit is contained in:
sunkaixuan 2022-09-27 22:52:31 +08:00
parent be6bf7714c
commit f157043be0

View File

@ -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""],