Skip to main content
.NET Framework 4.6.2+

XPCollection<T> Constructors

A generic type collection of persistent objects.
Name Parameters Description
XPCollection() none Initializes a new instance of the XPCollection<T> class with the default Session.
XPCollection(CriteriaOperator, SortProperty[]) theCriteria, sortProperties Initializes a new instance of the XPCollection<T> class with default Session and criteria-specific options.
XPCollection(PersistentCriteriaEvaluationBehavior, Session, CriteriaOperator, Boolean) criteriaEvaluationBehavior, session, condition, selectDeleted Initializes a new instance of the XPCollection<T> class with specified settings.
XPCollection(PersistentCriteriaEvaluationBehavior, Session, CriteriaOperator) criteriaEvaluationBehavior, session, condition Initializes a new instance of the XPCollection<T> class with specified settings.
XPCollection(Session, CriteriaOperator, SortProperty[]) session, theCriteria, sortProperties Initializes a new instance of the XPCollection<T> class with a specified Session and criteria-specific options.
XPCollection(Session, XPBaseCollection, CriteriaOperator, Boolean) session, originalCollection, copyFilter, caseSensitive Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, XPBaseCollection, CriteriaOperator) session, originalCollection, copyFilter Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, XPBaseCollection) session, originalCollection Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, Boolean) session, loadingEnabled Initializes a new instance of the XPCollection<T> class with specified settings.
XPCollection(Session, IEnumerable, CriteriaOperator, Boolean) session, originalCollection, copyFilter, caseSensitive Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, IEnumerable, CriteriaOperator) session, originalCollection, copyFilter Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, IEnumerable) session, originalCollection Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(Session, Object, XPMemberInfo) session, theOwner, refProperty Initializes a new instance of the XPCollection<T> class with specified settings.
XPCollection(Session) session Initializes a new instance of the XPCollection<T> class with a specified Session.
XPCollection(XPBaseCollection, CriteriaOperator, Boolean) originalCollection, filter, caseSensitive Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(XPBaseCollection, CriteriaOperator) originalCollection, filter Initializes a new instance of the XPCollection<T> class by copying T objects from a specific collection using specified settings.
XPCollection(XPBaseCollection) originalCollection Initializes a new instance of the XPCollection<T> class by copying T objects from a specified collection.
See Also