mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update QueryableByObject
This commit is contained in:
parent
6f5fd6c651
commit
56caf13214
@ -151,6 +151,13 @@ namespace SqlSugar
|
||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { models });
|
||||
return this;
|
||||
}
|
||||
public QueryMethodInfo Select(string expShortName, FormattableString expSelect, Type resultType)
|
||||
{
|
||||
var method = QueryableObj.GetType().GetMyMethod("Select", 3, typeof(string),typeof(FormattableString),typeof(Type));
|
||||
method= method.MakeGenericMethod(resultType);
|
||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { expShortName, expSelect, resultType });
|
||||
return this;
|
||||
}
|
||||
public QueryMethodInfo Select(string selectorSql)
|
||||
{
|
||||
var method = QueryableObj.GetType().GetMyMethod("Select", 1, typeof(string))
|
||||
|
Loading…
Reference in New Issue
Block a user