.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SessionObjectLayer Constructors

An object access layer that saves and loads persistent objects via a parent Session or UnitOfWork.
Name Parameters Description
SessionObjectLayer(Session) parentSession Initializes a new instance of the SessionObjectLayer class with a specified parent session.
SessionObjectLayer(Session, Boolean) parentSession, throughCommitMode Initializes a new instance of the SessionObjectLayer class with a specified parent session and the SessionObjectLayer.ThroughCommitMode field value.
SessionObjectLayer(Session, Boolean, IGenericSecurityRule, ISecurityRuleProvider, Object) parentSession, throughCommitMode, genericSecurityRule, securityDictionary, securityCustomContext Reserved for future use.
See Also