Skip to main content

GetSourceEventArgs.KeyExpression Property

Gets or sets the name of the key property.

Namespace: DevExpress.Data.WcfLinq

Assembly: DevExpress.Data.v24.2.dll

Declaration

public string KeyExpression { get; set; }

Property Value

Type Description
String

A String value indicating the key property name.

Remarks

Use this property in a WcfInstantFeedbackSource.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 KeyExpression property specifies the name of the property mapped to the primary key column in the database.

By default, the KeyExpression property is initialized by the WcfInstantFeedbackSource.KeyExpression property value.

See Also