Back to Devexpress

WcfInstantFeedbackSource.KeyExpression Property

corelibraries-devexpress-dot-data-dot-wcflinq-dot-wcfinstantfeedbacksource-4ebdce22.md

latest1.7 KB
Original Source

WcfInstantFeedbackSource.KeyExpression Property

Specifies the name of the key property.

Namespace : DevExpress.Data.WcfLinq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
[DefaultValue("")]
public string KeyExpression { get; set; }
vb
<DefaultValue("")>
Public Property KeyExpression As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the key property name.

|

Remarks

Usually, the KeyExpression property specifies the name of the property mapped to the primary key column in the database.

You can modify the KeyExpression property value within the WcfInstantFeedbackSource.GetSource event handler, via the GetSourceEventArgs.KeyExpression property.

See Also

WcfInstantFeedbackSource Class

WcfInstantFeedbackSource Members

DevExpress.Data.WcfLinq Namespace