mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update demo
This commit is contained in:
parent
5c770dc03f
commit
45002882f8
@ -201,7 +201,8 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
count = SqlFunc.RowCount(),
|
count = SqlFunc.RowCount(),
|
||||||
index = SqlFunc.RowNumber(it.Name),
|
index = SqlFunc.RowNumber(it.Name),
|
||||||
index2 = SqlFunc.RowNumber(it.Id,it.Name)
|
index2 = SqlFunc.RowNumber(it.Id,it.Name),
|
||||||
|
index3=GetValue()
|
||||||
})
|
})
|
||||||
.ToList();
|
.ToList();
|
||||||
var test49 = db.Queryable<Order>().Select(it => new
|
var test49 = db.Queryable<Order>().Select(it => new
|
||||||
@ -268,6 +269,11 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Examples End ####");
|
Console.WriteLine("#### Examples End ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static int GetValue()
|
||||||
|
{
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
|
||||||
private static void ReturnType()
|
private static void ReturnType()
|
||||||
{
|
{
|
||||||
Console.WriteLine("");
|
Console.WriteLine("");
|
||||||
|
Loading…
Reference in New Issue
Block a user