Skip to main content
.NET Framework 4.5.2+

PersistentBase(Session, XPClassInfo) Constructor

Initializes a new instance of the PersistentBase class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll

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