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.v24.1.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.