SqlCommandFactory Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
The SqlCommandFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateCommand(IDbConnection) |
Creates a generic command of type Stored Procedure and assigns the default command timeout.
|
|
CreateCommand(IDbConnection, String) |
Creates a generic command of type Stored Procedure and assigns the specified command text and default command timeout.
|
|
CreateGetContextInfoCommand |
Creates a SQL command that is intended to return the connection's context ID which is useful for tracing purposes.
|
Fields
Name | Description | |
---|---|---|
DefaultCommandTimeoutSeconds |
Returns the default timeout that will be applied to all SQL commands constructed by this factory class.
|
See Also
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace