Skip to main content
A newer version of this page is available. .

WcfServerModeDataSource.Query Property

Gets or sets the query request to a WCF Data Service. This is a dependency property.

Namespace: DevExpress.Xpf.Core.ServerMode

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

Declaration

public IQueryable Query { get; set; }

Property Value

Type Description
IQueryable

A query request to a WCF Data Service.

Remarks

public MainWindow() {
    InitializeComponent();
    grid.DataSource = new WcfServerModeSource() {        
        KeyExpression = "CustomerID",
        Query = myDataServiceContext.Customers
    };
}

You can see a detailed example in the How to use the WcfServerModeSource component as a data source article.

See Also