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

PersistentBase(Session, XPClassInfo) Constructor

Initializes a new instance of the PersistentBase class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public PersistentBase(
    Session session,
    XPClassInfo classInfo
)
Public Sub New(
    session As Session,
    classInfo As XPClassInfo
)
public PersistentBase(
    Session session,
    XPClassInfo classInfo
)
Public Sub New(
    session As Session,
    classInfo As XPClassInfo
)

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.

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