AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

MicrosoftSqlProviderFactory Members

The MicrosoftSqlProviderFactory type exposes the following members.

Methods


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