Update Demo

This commit is contained in:
sunkaixuan 2019-05-09 21:21:00 +08:00
parent 566e75fe67
commit 208b4f68c5

View File

@ -14,6 +14,19 @@ namespace OrmTest
QueryConditions();
JoinTable();
Async();
NoEntity();
}
private static void NoEntity()
{
Console.WriteLine("");
Console.WriteLine("#### No Entity Start ####");
var db = GetInstance();
var list = db.Queryable<dynamic>().AS("order ").Where("id=id", new { id = 1 }).ToList();
var list2 = db.Queryable<dynamic>("o").AS("order").AddJoinInfo("OrderDetail", "i", "o.id=i.OrderId").Where("id=id", new { id = 1 }).Select("o.*").ToList();
Console.WriteLine("#### No Entity End ####");
}
private static void JoinTable()