mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
5.1.1
This commit is contained in:
@@ -184,6 +184,14 @@ namespace OrmTest
|
||||
})
|
||||
.ToList();
|
||||
|
||||
var test48 = db.Queryable<Order>().Select(it => new
|
||||
{
|
||||
count = SqlFunc.RowCount(),
|
||||
index = SqlFunc.RowNumber(it.Name),
|
||||
index2 = SqlFunc.RowNumber(it.Id,it.Name)
|
||||
})
|
||||
.ToList();
|
||||
|
||||
var dr3 = new Dictionary<string, object>();
|
||||
dr3.Add("Id", 0);
|
||||
dr3.Add("Name", null);
|
||||
|
Reference in New Issue
Block a user