SqlCommandFactory Members
Include Protected Members
Include Inherited Members
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 time-out.
|
|
CreateCommand(IDbConnection, String) |
Creates a generic command of type Stored Procedure and assigns the specified command text and default command time-out to it.
|
|
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 time-out that will be applied to all SQL commands constructed by this factory class.
|
See Also
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace