Click or drag to resize

IDataObjectGetPropertyValue Method (String, IEnumerableInt32)

Returns the value(s) of a Set property or a Reference property. If the property is a Set property the Ids of the selected Set Property Values are returned. If the property is a Reference property the Ids of the selected Data Objects are returned. Throws an exception if: - The property doesn't exist - The property is not present in the data object type - The property is not of the right type and data type - The value of the property is not available (because it has not been loaded) - The value of the property is not accessible due to security

Namespace:  Omada.OE.Model.Public
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
IEnumerable<int> GetPropertyValue(
	string property,
	IEnumerable<int> defaultValue
)

Parameters

property
Type: SystemString
System name of the property
defaultValue
Type: System.Collections.GenericIEnumerableInt32
defaultValue is returned if the dataobject doesn't have any value(s) for the property.

Return Value

Type: IEnumerableInt32
See Also