| DataObjectControllerGetReferencePropertyValueIdPerDataObject Method |
Returns data object ids that are referred by a number of data objects in a reference property.
If the property has multiple values, only the first one is returned
If the property has no value, a default value is returned
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual Dictionary<int, int> GetReferencePropertyValueIdPerDataObject(
IEnumerable<int> dataObjectIds,
string property,
int defaultId
)
Parameters
- dataObjectIds
- Type: System.Collections.GenericIEnumerableInt32
Ids of the data objects that have the references.
- property
- Type: SystemString
Id of a reference property.
- defaultId
- Type: SystemInt32
Deafault value to be returned if a property does not exists on a given object
Return Value
Type:
DictionaryInt32,
Int32
Keys are ids of the data objects that holds the references.
Values are lists of ids of referred data objects.
If the property has multiple values, only the first one is returned
If the property has no value, a default value is returned
See Also