| ControllerBaseConvertId Method (String, ConfigurationObjectType) |
Converts a string representation of an integer or Guid id to an integer id.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual int ConvertId(
string id,
ConfigurationObjectType objectType
)
Parameters
- id
- Type: SystemString
String representation of either an integer id or a Guid id.
- objectType
- Type: Omada.OE.ModelConfigurationObjectType
The type of object that we are converting the id of.
Is used if id is a string representation of a Guid id.
Return Value
Type:
Int32
If the object can't be converted or located then zero is returned.
See Also