ObjectVersionCheckerIsEntityDeepClonable Method |
Checks whether it is allowed to deep clone entities of the specified class from one database to another.
Namespace: Autodesk.CivilAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic static bool IsEntityDeepClonable(
Database srcDatabase,
Database destDatabase,
RXClass rxClass
)
Public Shared Function IsEntityDeepClonable (
srcDatabase As Database,
destDatabase As Database,
rxClass As RXClass
) As Boolean
public:
static bool IsEntityDeepClonable(
Database^ srcDatabase,
Database^ destDatabase,
RXClass^ rxClass
)
Parameters
- srcDatabase Database
- The source database containing the entities to be cloned.
- destDatabase Database
- The destination database where the entities would be cloned to.
- rxClass RXClass
- The runtime class of the entity type to check.
Return Value
Boolean
True if entities of the specified class can be deep cloned between the databases; otherwise, false.
Returns false when there are data compatibility issues that prevent cloning operations.
Exceptions
Remarks
For destination database, all the entities should be compatible with App version; While for source database, the specified class should be compatible.
See Also