GetSourceEventArgs.KeyExpressions Property

Gets or sets the name of the key property.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v20.1.dll

Declaration

public string[] KeyExpressions { get; set; }
Public Property KeyExpressions As String()

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