mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-02 20:02:47 +08:00
Synchronization code
This commit is contained in:
parent
df7426fd22
commit
94050217ab
@ -164,6 +164,22 @@ namespace SqlSugar
|
||||
|
||||
#endregion
|
||||
|
||||
#region Nav
|
||||
|
||||
public QueryMethodInfo IncludesAllFirstLayer(params string[] ignoreNavPropertyNames)
|
||||
{
|
||||
var method = QueryableObj.GetType().GetMyMethod("IncludesAllFirstLayer",1,typeof(string[]));
|
||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { ignoreNavPropertyNames });
|
||||
return this;
|
||||
}
|
||||
public QueryMethodInfo Includes(string navProperyName)
|
||||
{
|
||||
var method = QueryableObj.GetType().GetMyMethod("IncludesByNameString", 1, typeof(string));
|
||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { navProperyName });
|
||||
return this;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Result
|
||||
public object ToPageList(int pageNumber, int pageSize)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user