Back to Devexpress

LinqServerModeDataSource.KeyExpression Property

wpf-devexpress-dot-xpf-dot-core-dot-servermode-dot-linqservermodedatasource.md

latest1.4 KB
Original Source

LinqServerModeDataSource.KeyExpression Property

Gets or sets the key expression. This is a dependency property.

Namespace : DevExpress.Xpf.Core.ServerMode

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public string KeyExpression { get; set; }
vb
Public Property KeyExpression As String

Property Value

TypeDescription
String

A String value that specifies the key expression.

|

Remarks

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

csharp
linqServerModeDataSource1.KeyExpression = "CustomerID";

See Also

LinqServerModeDataSource Class

LinqServerModeDataSource Members

DevExpress.Xpf.Core.ServerMode Namespace