SessionObjectLayer(Session, Boolean) Constructor
Initializes a new instance of the SessionObjectLayer class with a specified parent session and the SessionObjectLayer.ThroughCommitMode field value.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
parentSession | Session | A Session object specifying a parent session for the current object layer. The specified value initializes the object layer’s SessionObjectLayer.ParentSession field. |
throughCommitMode | Boolean | true if the SessionObjectLayer.CommitChanges method call should automatically commit changes in the parentSession to properly update key fields and fields with enabled optimistic locking in the object layer’s session; otherwise, false. The specified value initializes the object layer’s SessionObjectLayer.ThroughCommitMode field. |