Azure Integrator V2 - Online Help
Azure Integrator V2
Questions / Feedback?

AddEntityProperty Method

Adds an entity property that will be used for inserting, updating or merging an entity.

Syntax

table.addEntityProperty(name, valueType, value, [callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This method adds an entity property to the local copy of the entity. Call this method to add an entity to EntityProperties. To update an entity on Azure, call UpdateEntity or MergeEntity. Possible values for valueType are:

0 (Binary)An array of bytes up to 64 KB in size
1 (Boolean)A Boolean value.
2 (DateTime)A 64-bit value expressed as Coordinated Universal Time (UTC).
3 (Double)A 64-bit floating point value.
4 (Guid)A 128-bit globally unique identifier.
5 (Int32)A 32-bit integer.
6 (Int64)A 64-bit integer.
7 (String)A UTF-16-encoded value. String values may be up to 64 KB in size.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0