Skip to main content
.NET 8.0+

SessionObjectLayer(Session) Constructor

Initializes a new instance of the SessionObjectLayer class with a specified parent session.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public SessionObjectLayer(
    Session parentSession
)

#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.

#Remarks

This constructor initializes the SessionObjectLayer.ThroughCommitMode field with false.

See Also