'Declaration Public Overloads Shared Function ExecuteMethod( _ ByVal obj As ICustomOracleObject, _ ByVal connection As OracleConnection, _ ByVal typeName As String, _ ByVal methodName As String, _ ByVal parameters As OracleParameterCollection, _ ByVal parameterCheck As Boolean _ ) As Object
public static object ExecuteMethod( ICustomOracleObject obj, OracleConnection connection, string typeName, string methodName, OracleParameterCollection parameters, bool parameterCheck )
Parameters
- obj
- The object which method to execute. Can be either typed (i.e., an instance of a wizard-generated class) or untyped (i.e., an OracleObject instance).
- connection
- The connection to the Oracle database where the UDT used is declared.
- typeName
- The user-defined type which obj is an instance of.
- methodName
- The method to be invoked.
- parameters
- An OracleParameterCollection collection of method parameters.
- parameterCheck
- A boolean specifying whether the parameter set should be generated automatically based on the UDT method's declaration.
Return Value
The return value of the UDT method.