Skip to main content

GetSourceEventArgs.KeyExpressions Property

Gets or sets the name of the key property.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v24.2.dll

Declaration

public string[] KeyExpressions { get; set; }

Property Value

Type Description
String[]

A String value indicating the key property name.

Remarks

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