dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommand Class

In This Topic
SqlCommand Class Methods
In This Topic

For a list of all members of this type, see SqlCommand members.

Public Methods
 NameDescription
Public MethodOverloaded. Starts an asynchronous invocation of an ExecuteNonQuery method.  
Public MethodOverloaded. Starts an asynchronous invocation of an ExecuteReader method.  
Public MethodOverloaded. Starts an asynchronous invocation of an ExecuteXmlReader method.  
Public MethodOverridden. Tries to cancel the execution of a SqlCommand.  
Public MethodCreates a new object that is a copy of the current SqlCommand instance.  
Public MethodCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodCreates a new instance of a SqlParameter object.  
Public MethodReleases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public MethodEnds an asynchronous invocation of the ExecuteNonQuery method.  
Public MethodEnds an asynchronous invocation of the ExecuteReader method.  
Public MethodEnds an asynchronous invocation of the ExecuteXmlReader method.  
Public MethodOverridden. Executes SQL statement against the SqlConnection and returns the number of rows affected.  
Public MethodReturns a specific subset of rows when paging through the results of a query.  
Public MethodOverloaded. Sends the CommandText to the Connection and builds a SqlDataReader.  
Public MethodExecutes the query, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. (Inherited from Devart.Common.DbCommandBase)
Public MethodSends the CommandText to the SqlConnection and builds an XmlReader object.  
Public MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodReturns count of records in the resultset. (Inherited from Devart.Common.DbCommandBase)
Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodCreates a prepared (or compiled) version of the command on the server. (Inherited from Devart.Common.DbCommandBase)
Public Method (Inherited from Devart.Common.DbCommandBase)
Public MethodResets CommandTimeout to its default value, which is taken from DefaultCommandTimeout. (Inherited from Devart.Common.DbCommandBase)
Public MethodReturns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component)
Top
See Also