Class ObjectIdentityMap
- Namespace
- DevExpress.Xpo.Helpers
- Assembly
- DevExpress.Xpo.v24.1.dll
public abstract class ObjectIdentityMap
- Inheritance
-
ObjectIdentityMap
- Derived
-
- Inherited Members
-
Constructors
ObjectIdentityMap(IObjectLayerProvider)
public ObjectIdentityMap(IObjectLayerProvider objectLayerProvider)
Parameters
objectLayerProvider
IObjectLayerProvider
Fields
classes
protected Dictionary<XPClassInfo, IObjectMap> classes
Field Value
- Dictionary<XPClassInfo, IObjectMap>
Properties
Dictionary
protected XPDictionary Dictionary { get; }
Property Value
- XPDictionary
ObjectLayer
protected IObjectLayer ObjectLayer { get; }
Property Value
- IObjectLayer
Methods
Add(IObjectMap, object, object)
public void Add(IObjectMap objects, object theObject, object id)
Parameters
objects
IObjectMap
theObject
object
id
object
Add(object, object)
public void Add(object theObject, object id)
Parameters
theObject
object
id
object
Clear()
public abstract void Clear()
Compact()
public virtual void Compact()
CreateMap()
protected abstract IObjectMap CreateMap()
Returns
- IObjectMap
Get(IObjectMap, object)
public object Get(IObjectMap objects, object id)
Parameters
objects
IObjectMap
id
object
Returns
- object
public object Get(XPClassInfo objectClass, object id)
Parameters
objectClass
XPClassInfo
id
object
Returns
- object
public IObjectMap GetObjects(XPClassInfo classInfo)
Parameters
classInfo
XPClassInfo
Returns
- IObjectMap
Remove(object)
public void Remove(object theObject)
Parameters
theObject
object