SqlClient MethodsNemiro.Data.dll

The SqlClient type exposes the following members.

Methods

  NameDescription
Public methodConnect
Opens a database connection.
Public methodCopyDataToServer
Transferring the specified tables from the instance of DataSet to the database. Used SqlBulkCopy. The fastest and most economical way to move large amounts of data in the database.
Public methodCopyTableToServer
Transferring the specified table to the database. Used SqlBulkCopy. The fastest and most economical way to move large amounts of data in the database.
Public methodDisconnect
Closes the database connection.
Public methodDispose
Releases all resources used by the object. If necessary, closing all opened connections to the database.
Public methodEquals (Inherited from Object.)
Public methodExecuteNonQuery 
Executes a Transact-SQL statement against the connection and returns the number of rows affected. This method is used in conjunction with the properties CommandType, CommandText and Parameters.
Public methodExecuteNonQuery(SqlCommand)
Executes the specified SqlCommand and returns the number of rows affected.
Public methodExecuteNonQuery(String)
Executes a Transact-SQL statement against the connection and returns the number of rows affected.
Public methodExecuteScalar 
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored. This method is used in conjunction with the properties CommandType, CommandText and Parameters.
Public methodExecuteScalar(SqlCommand)
Executes the specified SqlCommand, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
Public methodExecuteScalar(String)
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
Protected methodFinalize (Inherited from Object.)
Public methodGetData 
Executes the query and returns DataSet. This method is used in conjunction with the properties CommandType, CommandText and Parameters.
Public methodGetData(SqlCommand)
Executes the specified SqlCommand and returns DataSet.
Public methodGetData(String)
Executes the specified SQL-statement and returns DataSet.
Public methodGetHashCode (Inherited from Object.)
Public methodGetRow 
Executes the query and returns data row. This method is used in conjunction with the properties CommandType, CommandText and Parameters.
Public methodGetRow(SqlCommand)
Executes the specified SqlCommand and returns строку данных.
Public methodGetRow(String)
Executes the query and returns data row.
Public methodGetTable 
Executes the query and returns DataTable. This method is used in conjunction with the properties CommandType, CommandText and Parameters.
Public methodGetTable(SqlCommand)
Executes the specified SqlCommand and returns DataTable.
Public methodGetTable(String)
Executes the query and returns DataTable.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also