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.v20.1.dll

Declaration

public class EntityServerModeDataSource :
    ListSourceDataSourceBase,
    IQueryableServerModeDataSource,
    IDataSource
Public Class EntityServerModeDataSource
    Inherits ListSourceDataSourceBase
    Implements 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.

Inheritance

Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
DevExpress.Xpf.Core.DXDesignTimeControl
DevExpress.Xpf.Core.DataSources.SimpleDataSourceBase
DevExpress.Xpf.Core.DataSources.DataSourceBase
DevExpress.Xpf.Core.DataSources.ListSourceDataSourceBase
EntityServerModeDataSource
See Also