dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleObject Class / ExecuteMethod Method / ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,OracleParameterCollection,Boolean) Method
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).
The connection to the Oracle database where the UDT used is declared.
The user-defined type which obj is an instance of.
The method to be invoked.
An OracleParameterCollection collection of method parameters.
A boolean specifying whether the parameter set should be generated automatically based on the UDT method's declaration.

ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,OracleParameterCollection,Boolean) Method
Calls the method of an Oracle object with the specified set of parameters.
Syntax
'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
 

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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also