ObjectVersionCheckerIsEntityWritable Method

Checks whether it is allowed to write (modify) entities of the specified class in the database.

Namespace: Autodesk.Civil
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public static bool IsEntityWritable(
	Database database,
	RXClass rxClass
)

Parameters

database  Database
The database containing the entities to be modified.
rxClass  RXClass
The runtime class of the entity type to check.

Return Value

Boolean
True if entities of the specified class can be written to; otherwise, false. Returns false when there are backward or forward compatibility issues that prevent writing.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when database or rxClass is null.
See Also