mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update NavigateManager
This commit is contained in:
parent
bb652aff82
commit
658e15ec45
@ -525,6 +525,16 @@ namespace SqlSugar
|
|||||||
var exp = method.Arguments[1];
|
var exp = method.Arguments[1];
|
||||||
oredrBy.Add(" " + queryable.QueryBuilder.GetExpressionValue(exp, ResolveExpressType.WhereSingle).GetString() + " DESC");
|
oredrBy.Add(" " + queryable.QueryBuilder.GetExpressionValue(exp, ResolveExpressType.WhereSingle).GetString() + " DESC");
|
||||||
}
|
}
|
||||||
|
else if (method.Method.Name == "Skip")
|
||||||
|
{
|
||||||
|
var exp = method.Arguments[1];
|
||||||
|
result.Skip = (int)ExpressionTool.GetExpressionValue(exp);
|
||||||
|
}
|
||||||
|
else if (method.Method.Name == "Take")
|
||||||
|
{
|
||||||
|
var exp = method.Arguments[1];
|
||||||
|
result.Take = (int)ExpressionTool.GetExpressionValue(exp);
|
||||||
|
}
|
||||||
else if (method.Method.Name == "ToList")
|
else if (method.Method.Name == "ToList")
|
||||||
{
|
{
|
||||||
isList = true;
|
isList = true;
|
||||||
@ -594,6 +604,8 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public class SqlInfo
|
public class SqlInfo
|
||||||
{
|
{
|
||||||
|
public int? Take { get; set; }
|
||||||
|
public int? Skip { get; set; }
|
||||||
public string WhereString { get; set; }
|
public string WhereString { get; set; }
|
||||||
public string OrderByString { get; set; }
|
public string OrderByString { get; set; }
|
||||||
public string SelectString { get; set; }
|
public string SelectString { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user