Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlCommandFactory Members

The SqlCommandFactory type exposes the following members.

  Name Description
Public method Static member CreateCommand(IDbConnection)
Creates a generic command of type Stored Procedure and assigns the default command time-out.
Public method Static member CreateCommand(IDbConnection, String)
Creates a generic command of type Stored Procedure and assigns the specified command text and default command time-out to it.
Public method Static member CreateGetContextInfoCommand
Creates a SQL command that is intended to return the connection's context ID, which is useful for tracing purposes.
  Name Description
Public field Static member DefaultCommandTimeoutSeconds
Returns the default time-out that will be applied to all SQL commands constructed by this factory class.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.