.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

XPBaseCollection Class

An ancestor of the XPCollection class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public abstract class XPBaseCollection :
    Component,
    IBindingList,
    IList,
    ICollection,
    IEnumerable,
    ITypedList,
    ISupportInitialize,
    IXPClassInfoAndSessionProvider,
    IXPClassInfoProvider,
    IXPDictionaryProvider,
    ISessionProvider,
    IObjectLayerProvider,
    IDataLayerProvider,
    IObjectChange,
    IFilteredXtraBindingList,
    IFilteredDataSource,
    IXPPrefetchableAssociationList,
    IXPBulkLoadableCollection
Public MustInherit Class XPBaseCollection
    Inherits Component
    Implements IBindingList,
               IList,
               ICollection,
               IEnumerable,
               ITypedList,
               ISupportInitialize,
               IXPClassInfoAndSessionProvider,
               IXPClassInfoProvider,
               IXPDictionaryProvider,
               ISessionProvider,
               IObjectLayerProvider,
               IDataLayerProvider,
               IObjectChange,
               IFilteredXtraBindingList,
               IFilteredDataSource,
               IXPPrefetchableAssociationList,
               IXPBulkLoadableCollection
public abstract class XPBaseCollection :
    Component,
    IBindingList,
    ICollection,
    IEnumerable,
    IList,
    ITypedList,
    ISupportInitialize,
    IXPClassInfoAndSessionProvider,
    IXPClassInfoProvider,
    IXPDictionaryProvider,
    ISessionProvider,
    IObjectLayerProvider,
    IDataLayerProvider,
    IObjectChange,
    IFilteredXtraBindingList,
    IFilteredDataSource,
    IXPPrefetchableAssociationList,
    IXPBulkLoadableCollection
Public MustInherit Class XPBaseCollection
    Inherits Component
    Implements IBindingList,
               ICollection,
               IEnumerable,
               IList,
               ITypedList,
               ISupportInitialize,
               IXPClassInfoAndSessionProvider,
               IXPClassInfoProvider,
               IXPDictionaryProvider,
               ISessionProvider,
               IObjectLayerProvider,
               IDataLayerProvider,
               IObjectChange,
               IFilteredXtraBindingList,
               IFilteredDataSource,
               IXPPrefetchableAssociationList,
               IXPBulkLoadableCollection

Remarks

XPBaseCollection is an ancestor of the XPCollection class. Use XPCollection objects in your applications to represent collections of persistent objects. See the XPCollection concept for more information.

NOTE

The XPBaseCollection's implementation of the ITypedList interface limits the number of nesting levels in the object's hierarchy to four levels at design time. This is done on purpose, because in some situations, Visual Studio attempts to retrieve the full hierarchy. This leads to Visual Studio hanging if the business model has self-referencing associations.

At runtime, there is no limitation for the nesting level, and you can bind controls to any property at runtime, even if it isn't visible in the designer. Also, the end-user designer doesn't inherit this problem, and the entire hierarchy will be retrieved.

Implements

See Also