System.Data.Generic
DataSource Methods |
The DataSource type exposes the following members.

Name | Description | |
---|---|---|
![]() |
ClearPool |
Empties the connection pool associated with the current connection.
|
![]() ![]() |
ClearPools |
Empties all connection pool(s).
|
![]() |
Close | Obsolete.
Close the data connection.
|
![]() |
CommitTransaction | Obsolete.
Commits a transaction from the specified context.
|
![]() |
CreateTransaction |
Create a new transaction context.
|
![]() |
CreateTransaction(String) |
Create a new transaction context and leaves the connection open.
|
![]() |
Dispose |
Releases all resources used by the Component.
|
![]() |
Equals | (Inherited from Object.) |
![]() ![]() |
EscapeSql(String) |
Escapes standard SQL characters.
|
![]() ![]() |
EscapeSql(String, Object) | Obsolete.
Escapes standard SQL characters. Can be used as String.Format.
|
![]() |
ExecuteCallBack |
Executes the query, and raises a callback of ItemCallBackDelegate for each item it iterates.
|
![]() |
ExecuteDataSet |
Executes the SQL query and returns a DataSet.
|
![]() |
ExecuteDataTable |
Sends the SQL Query to the Connection and returns a DataTable.
|
![]() |
ExecuteDictionary |
Executes the SQL statement and returns a dictionary of the first row. Keys in the dictionary are field names and values associated.
|
![]() |
ExecuteListT |
Executes the query, and returns a collection of the first column.
|
![]() |
ExecuteNObjectsT |
Executes the query, and returns a collection of object by the type T; hieratically compounded by the provided SQL JOIN and realted classes.
|
![]() |
ExecuteNoReturn(String) |
Executes the Query against the datasource without returning any value.
|
![]() |
ExecuteNoReturn(String, TransactionContext) |
Executes the Query against the datasource without returning any value. Supports transactions.
|
![]() |
ExecuteObjectT |
Executes the query, and returns a object by the type T.
|
![]() |
ExecuteObjectsT |
Executes the query, and returns a collection of object by the type T.
|
![]() |
ExecuteReader |
Sends the SQL Query to the Connection and builds a SqlDataReader.
|
![]() |
ExecuteScalar(String) |
Executes the query, and returns the first column of the first row in the result set returned by the query.
|
![]() |
ExecuteScalarT(String) |
Executes the query, and returns the first column of the first row in the result set returned by the query.
|
![]() |
ExecuteScalarT(String, T) |
Executes the query, and returns the first column of the first row in the result set returned by the query.
|
![]() |
ExecuteScalarT(String, TransactionContext, T) |
Executes the query, and returns the first column of the first row in the result set returned by the query. Supports transactions.
|
![]() |
ExecuteXmlReader |
Executes the Query against the datasource and returns a XML reader.
|
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Open | Obsolete.
Open the data connection.
|
![]() ![]() |
PrepareSql |
Formats a SQL statement based on the data type of the parameters parameters.
|
![]() |
RollbackTransaction | Obsolete.
Rolls back a transaction from the specified context.
|
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
