| DataObjectControllerGetDataObjectIdByTextPropertyValue Method (Int32, Int32, String, Boolean, Int32, Boolean) |
Returns the id of a dataobject (of a specific type) based on the value of a property of datatype text.
The id of the first dataobject that matches the property value is returned.
The property value is caseINsensitive.
If no dataobject is found zero is returned.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual int GetDataObjectIdByTextPropertyValue(
int dataObjectTypeId,
int propertyId,
string propertyValue,
bool mustBeLocked = false,
int ignoreDataObjectId = 0,
bool withNoLock = false
)
Parameters
- dataObjectTypeId
- Type: SystemInt32
- propertyId
- Type: SystemInt32
- propertyValue
- Type: SystemString
- mustBeLocked (Optional)
- Type: SystemBoolean
- ignoreDataObjectId (Optional)
- Type: SystemInt32
- withNoLock (Optional)
- Type: SystemBoolean
Return Value
Type:
Int32
See Also