The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPServerModeView Class

A data source that binds DevExpress grid controls with data tables and allows retrieving data from the server side.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[ToolboxTabName("DX.19.1: ORM Components")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "XPServerModeView")]
public class XPServerModeView : Component, ISupportInitializeNotification, ISupportInitialize, IListSource, IXPClassInfoAndSessionProvider, IXPClassInfoProvider, IXPDictionaryProvider, ISessionProvider, IObjectLayerProvider, IDataLayerProvider, IColumnsServerActions, IDXCloneable
<ToolboxTabName("DX.19.1: ORM Components")>
<ToolboxBitmap(GetType(ToolboxIconsRootNS), "XPServerModeView")>
Public Class XPServerModeView
    Inherits Component
    Implements ISupportInitializeNotification, ISupportInitialize, IListSource, IXPClassInfoAndSessionProvider, IXPClassInfoProvider, IXPDictionaryProvider, ISessionProvider, IObjectLayerProvider, IDataLayerProvider, IColumnsServerActions, IDXCloneable
[ToolboxTabName("DX.19.1: ORM Components")]
public class XPServerModeView : Component, ISupportInitializeNotification, ISupportInitialize, IListSource, IXPClassInfoAndSessionProvider, IXPClassInfoProvider, IXPDictionaryProvider, ISessionProvider, IObjectLayerProvider, IDataLayerProvider, IColumnsServerActions, IDXCloneable
<ToolboxTabName("DX.19.1: ORM Components")>
Public Class XPServerModeView
    Inherits Component
    Implements ISupportInitializeNotification, ISupportInitialize, IListSource, IXPClassInfoAndSessionProvider, IXPClassInfoProvider, IXPDictionaryProvider, ISessionProvider, IObjectLayerProvider, IDataLayerProvider, IColumnsServerActions, IDXCloneable

Remarks

Use the XPServerModeView component to work with DevExpress grid controls in server mode. The component combines the advantages and features of XPServerCollectionSource and XPView.

XPServerModeView ships with the following capabilities:

  • Ability to handle large data sources with lower memory usage (does not load an entire persistent object instance).
  • Ability to customize SELECT statements to exclude unused data columns.
  • Ability to include reference property data (nested properties) in the root query to avoid the 1+N problem.
  • Ability to include custom (virtual) properties calculated on the server side (similar to ServerViewProperty).

The following examples demonstrate how to work with XPServerModeView:

Inheritance

Implements

See Also