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.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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