CopyTypes - Copy types
Copy types are used for defining a copy strategy, i.e. the depth of the copy process. The exact meaning of copy types depends on the context where copy types are used.
Enumarators overview
- CopyAll
(2) - Copy all
- CopyDeep
(3) - Deep copy
- CopyInstances
(4) - Copy instances
- CopyLink
(7) - Copy links or key attributes
- CopyLocal
(1) - Copy owning references
- CopyModel
(0) - Copy dependent instances according to copy model
- CopyNone
(6) - Not copy data
- CopyRelationships
(5) - Copy relationships
Enumerator details
-
CopyModel - Copy dependent instances according to copy model
The copy operation depends on more detailed settings in the copy model (copy levels).
Code: 0
to list -
CopyLocal - Copy owning references
The copy option causes copying or exporting instances for a reference or relationship owning the instances.
Code: 1
to list -
CopyAll - Copy all
The value indicates, that instances and relationships are to be copied. Copy does perform a deep copy operation, i.e. owned instances and its relationships are copied as well. References to instances not owned by the copied instance are copied as references only, i.e. instance data for instances not owned by the instance is not copied, but links are created
Deep copy operations allow copying the complete database content without redundancy and without the risk of infinite recursions. This is also the default setting for the copy level in the copy model when creating new data type properties.
Code: 2
to list -
CopyDeep - Deep copy
The value indicates, that instances and relationships are to be copied. Copy does perform a deep copy operation, i.e. referenced instances and relationships are copied as well. Since this often leads to infinite recursion, CopyAll should be used in order to achieve save and optimal copy.
Code: 3
to list -
CopyInstances - Copy instances
The value indicates, that only instance data is copied without copying referenced instances.
Code: 4
to list -
CopyRelationships - Copy relationships
When passing this option as copy option, only links to related (not owning) instances will be copied. The function also copies relationships recursively, i.e. links in related instances owned by the instance are copied as well.
Code: 5
to list -
CopyLink - Copy links or key attributes
The option is used for copying references to related data. It may apply on relationships in order to copy links or for exporting the primary or sort key rather than the complete instance. This allows maintaining links without overwriting existing instances.
Code: 7
to list