mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
StorageableByObject.WhereColumns
This commit is contained in:
parent
aa1cc3c035
commit
56bff044cb
@ -89,6 +89,19 @@ namespace SqlSugar
|
|||||||
result.Method = method;
|
result.Method = method;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public StorageableSplitTableMethodInfo WhereColumns(string[] strings)
|
||||||
|
{
|
||||||
|
object objectValue = null;
|
||||||
|
MethodInfo method = GetSaveMethod(ref objectValue);
|
||||||
|
if (method == null) return new StorageableSplitTableMethodInfo(null);
|
||||||
|
method = objectValue.GetType().GetMyMethod("WhereColumns", 1, typeof(string[]));
|
||||||
|
objectValue = method.Invoke(objectValue, new object[] { strings });
|
||||||
|
StorageableSplitTableMethodInfo result = new StorageableSplitTableMethodInfo(null);
|
||||||
|
result.ObjectValue = objectValue;
|
||||||
|
result.Method = method;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class StorageableAsMethodInfo
|
public class StorageableAsMethodInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user