corelibraries-devexpress-dot-xpo-dot-db-295c2008.md
The enumeration describes how connection providers initialize command parameters.
Namespace : DevExpress.Xpo.DB
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public enum QueryParameterMode
Public Enum QueryParameterMode
| Name | Description | Comments |
|---|---|---|
Default |
When Always Encrypted is enabled, the default behavior is the same as SetTypeAndSize , otherwise, providers work in SetType mode.
| |
| Legacy |
A connection provider leaves the DbType, Precision, Scale, and Size properties unassigned.
|
For backward compatibility only.
|
| SetType |
A connection provider initializes only the DbType property.
|
This mode is optimal for most applications.
|
| SetTypeAndSize |
A connection provider initializes the DbType, Precision, Scale, and Size properties.
|
Use this mode to support the Always Encrypted feature.
|
See Also