Skip to main content
.NET 6.0+

PersistentBase(Session, XPClassInfo) Constructor

Initializes a new instance of the PersistentBase class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public PersistentBase(
    Session session,
    XPClassInfo classInfo
)

Parameters

Name Type Description
session Session

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

classInfo XPClassInfo

An XPClassInfo descendant which provides the class metadata. This value is assigned to the PersistentBase.ClassInfo property.

See Also