Click or drag to resize

DefaultAVPFormatterGetAttributeValuePairs Method

The method returns AVP attributes and values for the property values of a single data object. Property values are only included, if the direction, specified on the data object type, is Out or InOut. In addition to property values a number of other attributes are added: - _Action, _ID, _DataObjectType and _DisplayName are always added - If additional attributes has been added to the data object (using IObjectWithAttributes) these are added as well. The returned attributes have the format: "[attribute name]: [attribute value]" For a property value the attribute name is the system name of the property.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public List<string> GetAttributeValuePairs(
	DataObject dataObject,
	DataObjectType dataObjectType,
	Dictionary<int, ReferredObjectInfo> referredDataObjectKeyValues
)

Parameters

dataObject
Type: Omada.OE.ModelDataObject
Specifies the data object for which attributes and values should be returned.
dataObjectType
Type: Omada.OE.ModelDataObjectType
Must contain the data object type for the data object.
referredDataObjectKeyValues
Type: System.Collections.GenericDictionaryInt32, ReferredObjectInfo
The collection must contain key values for all data objects, that are referred by the data object. The collection, however, only have to do so, if a referred data object is referred through a property on which it is specified, that its value(s) should be transferred as keys values (and not as ids).

Return Value

Type: ListString
See Also