mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add: QueryableByObject(obj).InSingle
This commit is contained in:
parent
d8abcc1f55
commit
cbe68a63c4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user