mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Add: QueryableByObject(obj).InSingle
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user