EntityServerModeDataSource Class
A non-visual component that can be used as a data source for the DevExpress WPF Grid Control, Pivot Grid and SearchLookUpEdit controls in Server Mode. Can be associated with an Entity Framework 4 queryable source.
Namespace: DevExpress.Xpf.Core.ServerMode
Assembly: DevExpress.Xpf.Core.v22.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
public class EntityServerModeDataSource :
ListSourceDataSourceBase,
IQueryableServerModeDataSource,
IDataSource
Remarks
Server mode allows a data-aware control to work rapidly with large datasets. Loading records in small portions on demand, and performing data-aware operations on the data server side are the key features of server mode. When the control needs to display a specific portion of data, it calls a certain method of the bound server mode data source. This method sends a corresponding request to the data store, and upon receiving the results, passes them back to the control.
The EntityServerModeDataSource component implements the IListSource interface, and can be used as a datasource for a server-mode enabled control (e.g. DXGrid). Use EntityServerModeDataSource to bind a server-mode enabled control to Entity Framework model classes at design time.
Note
The EntityServerModeDataSource is a read-only data source.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EntityServerModeDataSource class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.