Skip to main content

ConnectionProviderSql Fields

Implements the base functionality for SQL-based data store adapters, including the MSSqlConnectionProvider and other adapters listed in the Database Systems Supported by XPO topic.
Name Description
DefaultCommandTimeout Specifies the timeout value passed to the IDbCommand.CommandTimeout property of each created command, in seconds.
EnableConnectionStringArgumentEscaping static
GlobalDefaultCommandTimeout static Specifies the timeout value passed to the IDbCommand.CommandTimeout property, in seconds. Can be overridden by the ConnectionProviderSql.DefaultCommandTimeout field. The default is 300.
GlobalQueryParameterMode static Specifies how connection providers initialize command parameters. Use the QueryParameterMode property to change this setting for a specific connection provider.
GlobalUseLegacyUntypedParameters static This property is now obsolete. Use GlobalQueryParameterMode instead.
MaxDeadLockRetryDelayMilliseconds static
MaxDeadLockTryCount static
QueryParameterMode Specifies how a connection provider initializes command parameters.
UseLegacyTimeSpanSupport static
UseLegacyUntypedParameters This property is now obsolete. Use QueryParameterMode instead.
XpoProviderTypeParameterName static Returns a parameter name used to denote a provider type in a connection string. The default value is “XpoProvider”. Inherited from DataStoreBase.
See Also