Export (0) Print
Expand All

SqlCommandFactory Methods

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.
Show:
© 2014 Microsoft