The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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

DevExpress.Xpo.Helpers.IXPClassInfoAndSessionProvider
DevExpress.Xpo.Helpers.IXPClassInfoProvider
DevExpress.Xpo.Helpers.IObjectLayerProvider
DevExpress.Xpo.Helpers.IDataLayerProvider
DevExpress.Xpo.Metadata.Helpers.IXPDictionaryProvider
DevExpress.Data.Helpers.IColumnsServerActions
DevExpress.Data.Helpers.IDXCloneable
See Also