Skip to main content
.NET Framework 4.5.2+

SessionObjectLayer Fields

An object access layer that saves and loads persistent objects via a parent Session or UnitOfWork.
Name Description
ParentSession Specifies a Session object which the current object layer uses to save and load objects.
ThroughCommitMode Indicates if the SessionObjectLayer.CommitChanges method call automatically commits changes in a parent session to properly update key fields and fields with enabled optimistic locking (decorated with the KeyAttribute or OptimisticLockingAttribute) in a nested session. To assign the ThroughCommitMode field, use the corresponding SessionObjectLayer overloaded constructor.
See Also