ConnectionProviderSql.QueryParameterMode Field
Specifies how a connection provider initializes command parameters.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.2.dll
Declaration
Field Value
Type | Description |
---|---|
QueryParameterMode | A QueryParameterMode enumeration value. Specifies how to initialize command parameters. |
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