Back to Devexpress

XPCursor Members

xpo-devexpress-dot-xpo-dot-xpcursor-dot-underscore-members.md

latest6.5 KB
Original Source

XPCursor Members

A pageable collection of persistent objects.

Constructors

NameDescription
XPCursor(Session, XPClassInfo, CriteriaOperator, SortProperty[])Initializes a new instance of the XPCursor class with the specified Session and criteria-specific options.
XPCursor(Session, XPClassInfo, CriteriaOperator)Initializes a new instance of the XPCursor class
XPCursor(Session, XPClassInfo, IList)Initializes a new instance of the XPCursor class and populates it with the objects whose Oid property’s value is contained within the keyList.
XPCursor(Session, XPClassInfo)Initializes a new instance of the XPCursor class with the specified XPCursor.Session and XPCollection.ObjectClassInfo properties.
XPCursor(Session, Type, CriteriaOperator, SortProperty[])Initializes a new instance of the XPCursor class with the specified settings.
XPCursor(Session, Type, IList)Initializes a new instance of the XPCursor class and populates it with the objects whose Oid property’s value is contained within the keyList.
XPCursor(Session, Type)Initializes a new instance of the XPCursor class.
XPCursor(Type, CriteriaOperator, SortProperty[])Initializes a new instance of the XPCursor class with default Session and criteria-specific options.
XPCursor(Type)Initializes a new instance of the XPCursor class with the default Session.

Properties

NameDescription
CountGets the number of persistent objects within the collection.
ObjectClassInfoGets the metadata information for the persistent objects retrieved by the collection.
PageSizeGets or sets the maximum number of persistent objects that can be contained in a single page.
SelectDeletedGets or sets whether deleted objects are retrieved by the XPCursor the next time it is reloaded.
SessionGets the session which is used to load and save persistent objects.
SortingProvides access to the collection whose elements identify the sorted columns in a data store.
TopReturnedObjectsGets or sets the maximum number of objects retrieved by the XPCursor collection.

Methods

NameDescription
CopyTo(Array, Int32)Copies all persistent objects which are stored within the current collection to the specified array starting at the specified index.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator()Returns an IEnumerator for the collection.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

XPCursor Class

DevExpress.Xpo Namespace