ConnectionProviderSql.QueryParameterMode Field
In This Article
Specifies how a connection provider initializes command parameters.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public QueryParameterMode QueryParameterMode
#Field Value
Type | Description |
---|---|
Query |
A Query |
#Remarks
The Default value is optimal for most applications. The following articles describe situations in which QueryParameterMode should be set to Legacy:
- XPO may throw OverflowException if String or Byte Array value length (size) is greater than the maximum allowed database column size
- XPO may throw InvalidCastException or SqlExecutionErrorException if parameter types (for update/read queries) do not match database column types
See Also