mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 08:37:25 +08:00
Add QueryableByObject.Select(+3)
This commit is contained in:
parent
559a66d13e
commit
f6923474ec
@ -164,7 +164,12 @@ namespace SqlSugar
|
|||||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { });
|
this.QueryableObj = method.Invoke(QueryableObj, new object[] { });
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
public QueryMethodInfo Select(string expShortName, List<string> columns, params object[] args)
|
||||||
|
{
|
||||||
|
var method = QueryableObj.GetType().GetMyMethod("Select", 3, typeof(string), typeof(List<string>), typeof(object[]));
|
||||||
|
this.QueryableObj = method.Invoke(QueryableObj, new object[] { expShortName,columns,args });
|
||||||
|
return this;
|
||||||
|
}
|
||||||
public QueryMethodInfo Select(List<SelectModel> models)
|
public QueryMethodInfo Select(List<SelectModel> models)
|
||||||
{
|
{
|
||||||
var method = QueryableObj.GetType().GetMyMethod("Select", 1, typeof(List<SelectModel>));
|
var method = QueryableObj.GetType().GetMyMethod("Select", 1, typeof(List<SelectModel>));
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.188</version>
|
<version>5.1.4.189-preview01</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user