The data source for the GridControl, PivotGridControl and SearchLookUpEdit that binds these controls to Entity Framework 4+ model classes in server mode.
[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.EntityServerModeSource.bmp")] public class EntityServerModeSource : Component, IListSource, ISupportInitialize, ILinqServerModeFrontEndOwner, IDXCloneable
<ToolboxBitmap(GetType(ResFinder), "Bitmaps256.EntityServerModeSource.bmp")> Public Class EntityServerModeSource Inherits Component Implements IListSource, ISupportInitialize, ILinqServerModeFrontEndOwner, IDXCloneable
Server mode allows a data-aware control to rapidly work 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 specific 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 EntityServerModeSource component implements the IListSource interface, and can be used as a data source for a control supporting the server mode feature.
Use EntityServerModeSource to bind a server-mode enabled control to Entity Framework 4+ model classes. To see an example, refer to the Entity Framework 4.0+ Server Mode help topic.
EntityServerModeSource is a read-only data source.
To learn about known issues when using Entity Framework data sources in Server Mode and how to overcome them, please refer to Entity Framework 4.0+ Server Mode Specifics.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EntityServerModeSource class.
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.