Adds a
TableOperation to the
TableBatchOperation that inserts the specified 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 instance As TableBatchOperation
Dim entity As ITableEntity
instance.InsertOrMerge(entity) |
Syntax
Visual Basic |
---|
Public Sub InsertOrMerge ( _
entity As ITableEntity _
) |
C# |
---|
public void InsertOrMerge (
ITableEntity entity
) |
C++ |
---|
public:
void InsertOrMerge (
ITableEntity^ entity
) |
J# |
---|
public void InsertOrMerge (
ITableEntity entity
) |
JScript |
---|
public function InsertOrMerge (
entity : ITableEntity
) |
Parameters
- entity
The entity whose contents are being inserted or merged.
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