Browse Source

Update db.QueryableByObject

pull/36/head
sunkaixuan 1 year ago
parent
commit
03cb76bedc
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryMethodInfo.cs

2
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryMethodInfo.cs

@ -52,7 +52,7 @@ namespace SqlSugar
}
public QueryMethodInfo AddJoinInfo(string tableName, string shortName, IFuncModel onFunc, JoinType type = JoinType.Left)
{
var method = QueryableObj.GetType().GetMyMethod("AddJoinInfo", 4, typeof(string), typeof(string), typeof(string), typeof(JoinType));
var method = QueryableObj.GetType().GetMyMethod("AddJoinInfo", 4, typeof(string), typeof(string), typeof(IFuncModel), typeof(JoinType));
this.QueryableObj = method.Invoke(QueryableObj, new object[] { tableName, shortName, onFunc, type });
return this;
}

Loading…
Cancel
Save