Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OracleCommand Methods

(see also Protected Methods )
  Name Description
Public method Cancel Overridden. Attempts to cancel the execution of an OracleCommand.
Public method Clone Creates a copy of this OracleCommand object.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method CreateParameter Creates a new instance of an OracleParameter object.
Public method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method ExecuteNonQuery Overridden. Executes an SQL statement against the Connection and returns the number of rows affected.
Public method ExecuteOracleNonQuery Executes an SQL statement against the Connection and returns the number of rows affected.
Public method ExecuteOracleScalar Executes the query, and returns the first column of the first row in the result set returned by the query as an Oracle-specific data type. Extra columns or rows are ignored.
Public method ExecuteReader Overloaded. Sends the CommandText to the Connection and builds an OracleDataReader.
Public method ExecuteScalar Overridden. Executes the query, and returns the first column of the first row in the result set returned by the query as a .NET Framework data type. Extra columns or rows are ignored.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Prepare Overridden. Creates a prepared (or compiled) version of the command at the data source.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ResetCommandTimeout Resets the CommandTimeout property to the default value.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  Name Description
Protected method CreateDbParameter  Creates a new instance of a DbParameter object. (Inherited from DbCommand.)
Protected method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method ExecuteDbDataReader  Executes the command text against the connection. (Inherited from DbCommand.)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft