| ControllerBaseConvertId Method (Guid, ConfigurationObjectType, Boolean) |
Converts the transport-safe unique id (UId) of an object to its integer id.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual int ConvertId(
Guid id,
ConfigurationObjectType objectType,
bool throwIfNotFound = false
)
Parameters
- id
- Type: SystemGuid
- objectType
- Type: Omada.OE.ModelConfigurationObjectType
The type of object that we are converting the id of.
- throwIfNotFound (Optional)
- Type: SystemBoolean
Return Value
Type:
Int32
If the object can't be located then zero is returned - unless throwIfNotFound is true.
See Also