This documentation is archived and is not being maintained.

EntityCommand Methods

The EntityCommand type exposes the following members.

Public method Cancel Tries to cancel the execution of a EntityCommand by calling the Cancel method of the underlying data provider. (Overrides DbCommand.Cancel().)
Protected method CreateDbParameter Creates a new instance of a DbParameter object. (Inherited from DbCommand.)
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 a EntityParameter object.
Public method Dispose Overloaded. Releases the resources used by the Component.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExecuteDbDataReader Executes the command text against the connection. (Inherited from DbCommand.)
Public method ExecuteNonQuery Executes the current command. (Overrides DbCommand.ExecuteNonQuery().)
Public method ExecuteReader Overloaded. Executes the command and returns a data reader.
Public method ExecuteScalar Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. (Overrides DbCommand.ExecuteScalar().)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
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.)
Protected method MemberwiseClone Overloaded.
Public method Prepare Compiles the entity-level command and creates a prepared version of the command by calling the Prepare method of the underlying data provider's Command object. (Overrides DbCommand.Prepare().)
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method ToTraceString Compiles the entity-level command and returns the store command text.

Explicit interface implemetation Private method IDbCommand.CreateParameter (Inherited from DbCommand.)
Public method ExecuteReader Overloaded. For a description of this member, see IDbCommand.ExecuteReader.