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

Session Constructors

The session that is used to load and save persistent objects.
Name Parameters Description
Session() none Initializes a new instance of the Session class with default settings.
Session(IDataLayer, IDisposable[]) layer, disposeOnDisconnect Initializes a new instance of the Session class and connects it to a data store.
Session(IObjectLayer, IDisposable[]) layer, disposeOnDisconnect Initializes a new instance of the Session class with specified settings and connects it to a data store.
Session(XPDictionary) dictionary Initializes a new Session instance using the specified metadata provider.
Session(IContainer) container Initializes a new instance of the Session class and adds it to a form's container.
See Also