Skip to main content
.NET 8.0+

IObjectLayer Methods

The interface to which object access layers should conform.
Name Description
CommitChanges(Session, ICollection, ICollection) When implemented by a class, commits object changes made in a specified session.
CommitChangesAsync(Session, ICollection, ICollection, AsyncCommitCallback) When implemented by a class, asynchronously commits object changes made in a specified session and notifies upon completion.
CreateObjectType(XPObjectType) When implemented by a class, creates an XPObjectType record.
GetObjectLayerWideObjectTypes() When implemented by a class, returns a Dictionary<XPClassInfo,XPObjectType> specifying the correspondence of XPClassInfo objects to XPObjectType records.
GetObjectsByKey(Session, ObjectsByKeyQuery[]) When implemented by a class, returns persistent objects from a specified session using queries based on specified object types and key values.
GetStaticCache(XPClassInfo) This member supports the internal infrastructure and is not intended to be used directly from your code.
IsStaticType(XPClassInfo) This member supports the internal infrastructure and is not intended to be used directly from your code.
LoadCollectionObjects(Session, XPMemberInfo, Object) When implemented by a class, loads a collection property using specified settings.
LoadObjects(Session, ObjectsQuery[]) When implemented by a class, loads persistent objects using specified settings.
LoadObjectsAsync(Session, ObjectsQuery[], AsyncLoadObjectsCallback) When implemented by a class, asynchronously loads persistent objects using specified settings and notifies upon completion.
Purge() When implemented by a class, removes all objects marked for deletion.
RegisterStaticTypes(XPClassInfo[]) This member supports the internal infrastructure and is not intended to be used directly from your code.
SelectData(Session, ObjectsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator) When implemented by a class, retrieves object data from a session using specified query parameters.
SelectDataAsync(Session, ObjectsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator, AsyncSelectDataCallback) When implemented by a class, asynchronously retrieves object data from a session using specified query parameters and notifies upon completion.
SetObjectLayerWideObjectTypes(Dictionary<XPClassInfo, XPObjectType>) When implemented by a class, designates a Dictionary<XPClassInfo,XPObjectType> specifying the correspondence of XPClassInfo objects to XPObjectType records.
See Also