Back to Devexpress

WcfServerModeSource.KeyExpression Property

corelibraries-devexpress-dot-data-dot-wcflinq-dot-wcfservermodesource-70e5153e.md

latest1.5 KB
Original Source

WcfServerModeSource.KeyExpression Property

Specifies the key expression.

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 that specifies the key expression.

|

Remarks

In most instances, the KeyExpression property specifies the key field name:

csharp
wcfServerModeSource1.KeyExpression = "CustomerID";
vb
wcfServerModeSource1.KeyExpression = "CustomerID"

See Also

WcfServerModeSource Class

WcfServerModeSource Members

DevExpress.Data.WcfLinq Namespace