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. |
| Session(IServiceProvider, IDataLayer, IDisposable[]) | serviceProvider, layer, disposeOnDisconnect | Initializes a new instance of the Session class with specified settings. |
| Session(IServiceProvider, IObjectLayer, IDisposable[]) | serviceProvider, layer, disposeOnDisconnect | Initializes a new instance of the Session class with specified settings. |
| Session(IServiceProvider, XPDictionary) | serviceProvider, dictionary | Initializes a new instance of the Session class with specified settings. |
| Session(IServiceProvider, IContainer) | serviceProvider, container | Initializes a new instance of the Session class with specified settings. |
| Session(IServiceProvider) | serviceProvider | Initializes a new instance of the Session class with specified settings. |
See Also