Back to Devexpress

EntityServerModeDataSource Class

wpf-devexpress-dot-xpf-dot-core-dot-servermode-c08084e8.md

latest3.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class EntityServerModeDataSource :
    ListSourceDataSourceBase,
    IQueryableServerModeDataSource,
    IDataSource
vb
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

Show 12 items

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

EntityServerModeDataSource Members

Bind the WPF Data Grid to Entity Framework Core Sources

DevExpress.Xpf.Core.ServerMode Namespace