.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPCursor(Session, XPClassInfo, CriteriaOperator) Constructor

Initializes a new instance of the XPCursor class

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public XPCursor(
    Session session,
    XPClassInfo objType,
    CriteriaOperator theCriteria
)
Public Sub New(
    session As Session,
    objType As XPClassInfo,
    theCriteria As CriteriaOperator
)
public XPCursor(
    Session session,
    XPClassInfo objType,
    CriteriaOperator theCriteria
)
Public Sub New(
    session As Session,
    objType As XPClassInfo,
    theCriteria As CriteriaOperator
)

Parameters

Name Type Description
session Session

A Session object which represents the session that will be used to load and save persistent objects. This value is assigned to the XPCursor.Session property.

objType XPClassInfo

An XPClassInfo object that provides the persistent class's metadata information for the objects to include in the collection. This value is assigned to the XPCursor.ObjectClassInfo property.

theCriteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria.

Parameters

Name Type Description
session Session

A Session object which represents the session that will be used to load and save persistent objects. This value is assigned to the XPCursor.Session property.

objType XPClassInfo

An XPClassInfo object that provides the persistent class's metadata information for the objects to include in the collection. This value is assigned to the XPCursor.ObjectClassInfo property.

theCriteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria.

See Also