Back to Devexpress

QueryParameterMode Enum

corelibraries-devexpress-dot-xpo-dot-db-295c2008.md

latest2.7 KB
Original Source

QueryParameterMode Enum

The enumeration describes how connection providers initialize command parameters.

Namespace : DevExpress.Xpo.DB

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public enum QueryParameterMode
vb
Public Enum QueryParameterMode

Members

NameDescriptionComments
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

GlobalQueryParameterMode

QueryParameterMode

DevExpress.Xpo.DB Namespace