mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
Deleteable.EnableDiffLogEvent
This commit is contained in:
parent
2c53719853
commit
b0e730d807
@ -38,7 +38,20 @@ namespace SqlSugar
|
|||||||
Context = result
|
Context = result
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
public CommonMethodInfo EnableDiffLogEvent(object businessData = null)
|
||||||
|
{
|
||||||
|
if (Context == null)
|
||||||
|
{
|
||||||
|
return new CommonMethodInfo();
|
||||||
|
}
|
||||||
|
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
||||||
|
var newMethod = inertable.GetType().GetMyMethod("EnableDiffLogEvent", 1, typeof(object));
|
||||||
|
var result = newMethod.Invoke(inertable, new object[] { businessData });
|
||||||
|
return new CommonMethodInfo()
|
||||||
|
{
|
||||||
|
Context = result
|
||||||
|
};
|
||||||
|
}
|
||||||
public CommonMethodInfo SplitTable()
|
public CommonMethodInfo SplitTable()
|
||||||
{
|
{
|
||||||
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
||||||
|
Loading…
Reference in New Issue
Block a user