Add: QueryableByObject(obj).InSingle

This commit is contained in:
sunkaixuan 2023-11-02 22:25:27 +08:00
parent d8abcc1f55
commit cbe68a63c4

View File

@ -245,6 +245,12 @@ namespace SqlSugar
var reslt = method.Invoke(QueryableObj, new object[] { });
return reslt;
}
public object InSingle(object pkValue)
{
var method = QueryableObj.GetType().GetMyMethod("InSingle", 1);
var reslt = method.Invoke(QueryableObj, new object[] { pkValue });
return reslt;
}
public bool CreateView(string viewNameFomat)
{
if (viewNameFomat?.Contains("{0}")!=true)