mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronization code
This commit is contained in:
@@ -76,6 +76,19 @@ namespace SqlSugar
|
|||||||
result.Method = method;
|
result.Method = method;
|
||||||
return result;
|
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
|
public class StorageableAsMethodInfo
|
||||||
|
Reference in New Issue
Block a user