Skip to main content
.NET Framework 4.5.2+

SerializableObjectLayer Members

An object access layer used for units of work (or sessions) in distributed applications.

Constructors

Name Description
SerializableObjectLayer(Session, Boolean) Initializes a new instance of the SerializableObjectLayer class with a specified parent session and the SerializableObjectLayer.ThroughCommitMode field value.
SerializableObjectLayer(Session) Initializes a new instance of the SerializableObjectLayer class with a specified parent session.

Fields

Name Description
ThroughCommitMode Indicates if the SerializableObjectLayer.CommitObjects 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 SerializableObjectLayer overloaded constructor.

Properties

Name Description
CanLoadCollectionObjects Indicates if an object layer can call the SerializableObjectLayer.LoadCollectionObjects method to load collection properties.
ObjectLayer Returns the current SerializableObjectLayer object.
ParentSession

Methods

Name Description
CommitObjects(XPDictionaryStub, XPObjectStubCollection, XPObjectStubCollection, LockingOption) Performs object layer specific operations that are required to commit changes made to specified objects and return information on modified objects.
CreateObjectType(String, String) Performs object layer specific operations that are required to create an XPObjectType record.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[]) Performs object layer specific operations that are required to return information on persistent objects retrieved from a data store, using queries based on specified object types and key values.
GetParentObjectsToDelete() Performs object layer specific operations that are required to return information on persistent objects marked for deletion in parent sessions.
GetParentObjectsToSave() Performs object layer specific operations that are required to return information on persistent objects marked for saving in parent sessions.
GetParentTouchedClassInfos() Performs object layer specific operations that are required to return metadata information on persistent objects modified in parent sessions.
GetType() Gets the Type of the current instance. Inherited from Object.
IsParentObjectToDelete(XPDictionaryStub, XPObjectStub) Performs object layer specific operations that are required to determine if a specified object corresponds to an object marked for deletion in parent sessions.
IsParentObjectToSave(XPDictionaryStub, XPObjectStub) Performs object layer specific operations that are required to determine if a specified object corresponds to an object marked for saving in parent sessions.
LoadCollectionObjects(XPDictionaryStub, String, XPObjectStub) Performs object layer specific operations that are required to load a collection property using specified settings.
LoadDelayedProperties(XPDictionaryStub, XPObjectStub, String[]) Performs object layer specific operations that are required to load data to specific properties marked for delayed loading in a specified object.
LoadDelayedProperties(XPDictionaryStub, XPObjectStubCollection, String) Performs object layer specific operations that are required to load data to a specific property marked for delayed loading in specified objects.
LoadObjects(XPDictionaryStub, ObjectStubsQuery[]) Performs object layer specific operations that are required to load persistent objects using specified settings.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Purge() Performs object layer specific operations that are required to remove all objects marked for deletion.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectData(XPDictionaryStub, ObjectStubsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator) Performs object layer specific operations that are required to retrieve object data from a session, using specified query parameters.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also