Skip to main content
.NET 6.0+

XPCursor(Session, XPClassInfo) Constructor

Initializes a new instance of the XPCursor class with the specified XPCursor.Session and XPCollection.ObjectClassInfo properties.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPCursor(
    Session session,
    XPClassInfo objType
)

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 which provides the persistent class’s metadata information for the objects to include in the collection. This value is assigned to the XPCursor.ObjectClassInfo property.

See Also