Synchronization code

This commit is contained in:
sunkaixuan
2024-04-16 19:55:19 +08:00
parent 9cec39acd0
commit 5be8adb8d4

View File

@@ -76,6 +76,19 @@ namespace SqlSugar
result.Method = method;
return result;
}
public StorageableSplitTableMethodInfo AS(string tableName)
{
object objectValue = null;
MethodInfo method = GetSaveMethod(ref objectValue);
if (method == null) return new StorageableSplitTableMethodInfo(null);
method = objectValue.GetType().GetMyMethod("As",1);
objectValue = method.Invoke(objectValue, new object[] { tableName });
StorageableSplitTableMethodInfo result = new StorageableSplitTableMethodInfo(null);
result.ObjectValue = objectValue;
result.Method = method;
return result;
}
}
public class StorageableAsMethodInfo