Synchronization code

This commit is contained in:
sunkaixuan
2024-06-02 12:10:11 +08:00
parent 36651702d4
commit 27fbc27af5

View File

@@ -109,6 +109,24 @@ namespace SqlSugar
var newObj= value.GetType().GetMethod("ExecuteCommand").Invoke(value, new object[] { });
return (int)newObj;
}
public StorageableCommonMethodInfo IgnoreColumns(params string[] ignoreColumns)
{
PropertyInfo property = ObjectValue.GetType().GetProperty(type);
var value = property.GetValue(ObjectValue);
var newObj = value.GetType().GetMyMethod("IgnoreColumns", 1, typeof(string[])).Invoke(value, new object[] { ignoreColumns });
StorageableCommonMethodInfo result = new StorageableCommonMethodInfo();
result.Value = newObj;
return result;
}
}
public class StorageableCommonMethodInfo
{
public object Value { get; set; }
public int ExecuteCommand()
{
var newObj = Value.GetType().GetMethod("ExecuteCommand").Invoke(Value, new object[] { });
return (int)newObj;
}
}
public class StorageableSplitTableMethodInfo