Click or drag to resize

DataObjectControllerImportSerializedDataObjects Method (ListDictionaryString, Object)

Processes a set of data object operations (create, update or delete).

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public ObjectImporterResult ImportSerializedDataObjects(
	List<Dictionary<string, Object>> objects
)

Parameters

objects
Type: System.Collections.GenericListDictionaryString, Object
Each list entry is a dictionary that represents a data object operation. Each data object operation must have: - "id": data object uid - required unless the operation is "create" - "type": system name of a data object type - whether required or not depends on the operation - "operation": ["create", "update", "updateIfExists", "updateOrCreate", "delete", "deleteIfExists", "none"] (reqd) - [property system name]_v : list of values for the property where each value has a: "value": set- or reference-property: value must be an int. Value property w. datatype 'DateTime' or 'TimeSpan': value must be an xml encoded string value. "isKeyReference" : bool indicating if "value" is a string that references a key-value (only relevant if the property is a reference property)

Return Value

Type: ObjectImporterResult
See Also