Skip to main content

GetSourceEventArgs.KeyExpressions Property

Gets or sets the name of the key property.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public string[] KeyExpressions { get; set; }

Property Value

Type Description

A String value indicating the key property name.


Use this property in a ODataInstantFeedbackSource.GetSource event handler to specify the name of the key property contained in a queryable source that is provided via the GetSourceEventArgs.Query property. Usually, the KeyExpressions property specifies the name of the property mapped to the primary key column in the database.

See Also