XPServerCollectionSource.Session Property
Gets or sets the Session used by the current XPServerCollectionSource object.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Property Value
Type | Description |
---|---|
Session | The session with a connection to a data source. The default value is Session.DefaultSession. |
Remarks
By default, the XPServerCollectionSource object operates within the scope of the Default Session (Session.DefaultSession). At design time, you can use the Session property to assign the XPServerCollectionSource object to another Session or UnitOfWork. At runtime, use the XPServerCollectionSource constructor to initialize the Session property. It’s also possible to associate an XPServerCollectionSource object with a session via the XPServerCollectionSource.ResolveSession event.