MicrosoftSqlProviderFactory Members
The MicrosoftSqlProviderFactory type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AddWithValue |
Adds a parameter via the provider's AddWithValue method and returns it.
Required because AddWithValue is not on the DbParameterCollection base class.
|
|
|
ApplyUpdateCommand |
Calls builder.GetUpdateCommand() and assigns it to the adapter's UpdateCommand property.
Required because UpdateCommand is not exposed on the DbDataAdapter base class.
|
|
|
ClearAllPools |
Clears all connection pools for this provider.
|
|
|
ClearPool |
Clears the connection pool for the specified connection.
|
|
|
ClearStructuredTypeName |
Clears the TypeName on a structured parameter.
Required because TypeName is not on the DbParameter base class.
|
|
|
CreateCommand |
Creates a new, empty DbCommand.
|
|
|
CreateCommandBuilder |
Creates a DbCommandBuilder associated with the given adapter.
|
|
|
CreateConnection |
Creates an open DbConnection using the given connection string.
|
|
|
CreateConnectionStringBuilder |
Creates a DbConnectionStringBuilder initialised with the given connection string.
|
|
|
CreateDataAdapter |
Creates a DbDataAdapter wrapping the given command.
|
|
|
CreateParameter(String, DbType, ParameterDirection, Object) |
Creates a DbParameter with the specified attributes.
|
|
|
CreateParameter()()()() |
Creates an empty DbParameter.
|
|
|
DeriveParameters |
Derives the parameter metadata for a stored-procedure command
(delegates to the provider's SqlCommandBuilder.DeriveParameters).
|
|
|
ExecuteXmlReader |
Executes a SQL Server XML reader against the command.
|
|
|
IsStructuredType |
Returns true when the parameter is a structured (table-valued) type.
|

