Skip to main content
.NET Framework 4.6.2+

XPCollection Constructors

The collection of persistent objects that implements delayed loading and can serve as a data source for a data-aware control.
Name Parameters Description
XPCollection() none Initializes a new instance of the XPCollection class with the default Session.
XPCollection(PersistentCriteriaEvaluationBehavior, Session, XPClassInfo, CriteriaOperator, Boolean) criteriaEvaluationBehavior, session, objType, condition, selectDeleted Initializes a new instance of the XPCollection class with specified settings.
XPCollection(PersistentCriteriaEvaluationBehavior, Session, XPClassInfo, CriteriaOperator) criteriaEvaluationBehavior, session, objType, condition Initializes a new instance of the XPCollection class with specified settings.
XPCollection(PersistentCriteriaEvaluationBehavior, Session, Type, CriteriaOperator) criteriaEvaluationBehavior, session, objType, condition Initializes a new instance of the XPCollection class with specified settings.
XPCollection(Session, XPClassInfo, CriteriaOperator, SortProperty[]) session, objType, theCriteria, sortProperties Initializes a new instance of the XPCollection class with a specified Session and criteria-specific options.
XPCollection(Session, XPClassInfo, Boolean) session, objType, loadingEnabled Initializes a new instance of the XPCollection class with specified settings.
XPCollection(Session, XPClassInfo, IEnumerable, CriteriaOperator, Boolean) session, objType, originalCollection, copyFilter, caseSensitive Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, XPClassInfo, IEnumerable, CriteriaOperator) session, objType, originalCollection, copyFilter Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, XPClassInfo, IEnumerable) session, objType, originalCollection Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, XPClassInfo) session, objType Initializes a new instance of the XPCollection class with specified settings.
XPCollection(Session, XPBaseCollection, CriteriaOperator, Boolean) session, originalCollection, copyFilter, caseSensitive Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, XPBaseCollection, CriteriaOperator) session, originalCollection, copyFilter Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, XPBaseCollection) session, originalCollection Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(Session, Object, XPMemberInfo) session, theOwner, refProperty Initializes a new instance of the XPCollection class with specified settings.
XPCollection(Session, Type, CriteriaOperator, SortProperty[]) session, objType, theCriteria, sortProperties Initializes a new instance of the XPCollection class with a specified Session and criteria-specific options.
XPCollection(Session, Type, Boolean) session, objType, loadingEnabled Initializes a new instance of the XPCollection class with specified settings.
XPCollection(Session, Type) session, objType Initializes a new instance of the XPCollection class with specified settings.
XPCollection(XPBaseCollection, CriteriaOperator, Boolean) originalCollection, filter, caseSensitive Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(XPBaseCollection, CriteriaOperator) originalCollection, filter Initializes a new instance of the XPCollection class by copying objects from a specific collection using specified settings.
XPCollection(XPBaseCollection) originalCollection Initializes a new instance of the XPCollection class by copying objects from a specified collection.
XPCollection(IContainer) container Initializes a new instance of the XPCollection class and adds it to a form’s container.
XPCollection(Type, CriteriaOperator, SortProperty[]) objType, theCriteria, sortProperties Initializes a new instance of the XPCollection class with default Session and criteria-specific options.
XPCollection(Type) objType Initializes a new instance of the XPCollection class with the default Session and object type.
See Also