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.

In This Topic
    ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,OracleParameterCollection,Boolean) Method
    In This Topic
    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.
    See Also