ObjectVersionCheckerIsEntityDeepClonable Method

Checks whether it is allowed to deep clone entities of the specified class from one database to another.

Namespace: Autodesk.Civil
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
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
ExceptionCondition
ArgumentNullExceptionThrown when srcDatabase, destDatabase, or rxClass is null.
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