Creates a new table operation that inserts the given entity into a table if the entity does not exist; if the entity does exist then its contents are merged with the provided entity.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim entity As ITableEntity
Dim returnValue As TableOperation
returnValue = TableOperation.InsertOrMerge(entity) |
Syntax
Visual Basic |
---|
Public Shared Function InsertOrMerge ( _
entity As ITableEntity _
) As TableOperation |
C# |
---|
public static TableOperation InsertOrMerge (
ITableEntity entity
) |
C++ |
---|
public:
static TableOperation^ InsertOrMerge (
ITableEntity^ entity
) |
J# |
---|
public static TableOperation InsertOrMerge (
ITableEntity entity
) |
JScript |
---|
public static function InsertOrMerge (
entity : ITableEntity
) : TableOperation |
Parameters
- entity
The ITableEntity object to be inserted or merged.
Return Value
The
TableOperation object.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also