IdMapping Class

This class is used in deep clone operations to map, using IdPair objects, object IDs from the original objects to their clones.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.DatabaseServicesIdMapping

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class IdMapping : RXObject, 
        IEnumerable

The IdMapping type exposes the following members.

Constructors
  Name Description
Public method IdMapping Default constructor for the IdMapping class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property DeepCloneContext Property that represents the type of deep clone operation that uses this IdMapping object.
Public property DestinationDatabase Property that represents the destination database for the deep clone operation that uses this IdMapping object.
Public property DuplicateRecordCloning Property that represents the type of duplicate record cloning for this IdMapping object.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property Item Property that represents the IdPair object defined by its key.
Public property OriginalDatabase Property that represents the source (original) database for the deep clone operation that uses this IdMapping object.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Add Adds the specified IdPair object to this IdMapping object.
Public method Change Returns the value of the IdPair in this IdMapping object that matches the key in the specified IdPair object.
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method Contains Checks whether this IdMapping object contains the specified key object ID.
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Delete Deletes the IdPair with the specified key from this IdMapping object.
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method GetEnumerator Returns an enumerator for this object.
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method Lookup Searches for whether this IdPair stores the specified key. If the specified key is found, the method returns the IdPair object with the rest of copied data, otherwise returns NULL.
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
Remarks
There is no mechanism to clear all the mappings in an IdMapping instance; a new instance must be created for each deep clone operation.
See Also

©  Bricsys NV. All rights reserved.