mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Synchronization code
This commit is contained in:
@@ -38,6 +38,18 @@ namespace SqlSugar
|
||||
Context = result
|
||||
};
|
||||
}
|
||||
|
||||
public UpdateCommonMethodInfo UpdateColumns(params string[] updateColumns)
|
||||
{
|
||||
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
||||
var newMethod = inertable.GetType().GetMyMethod("UpdateColumns", 1, typeof(string[]));
|
||||
var result = newMethod.Invoke(inertable, new object[] { updateColumns });
|
||||
return new UpdateCommonMethodInfo()
|
||||
{
|
||||
Context = result
|
||||
};
|
||||
}
|
||||
|
||||
public UpdateCommonMethodInfo AS(string tableName)
|
||||
{
|
||||
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
||||
|
Reference in New Issue
Block a user