Create(String, Byte[]):IDataObject
Creates a new data object underneath the current data object.
After creation the data object is returned.
Return type: Onion.Client.IDataObject
Parameter
- name
Type: System.String
This parameter represents the name of the new data object. If a data object with the name already exists in the same level, then a DataObjectAlreadyExistsException is triggered.
- xmlAsUtf8
Type: System.Byte[]
This parameter is a byte[] containing a character string in the form of an Xml. Based on the schemaLocation at the "root" element of the Xml, onion.net recognises the schema the data object is to follow and validates the transferred data at the time of creation.