All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

QueryParameterMode Enum

The enumeration describes how connection providers initialize command parameters.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.1.dll

Declaration

public enum QueryParameterMode
Public Enum QueryParameterMode

Members

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