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 replaced 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.InsertOrReplace(entity) |
Syntax
Visual Basic |
---|
Public Sub InsertOrReplace ( _
entity As ITableEntity _
) |
C# |
---|
public void InsertOrReplace (
ITableEntity entity
) |
C++ |
---|
public:
void InsertOrReplace (
ITableEntity^ entity
) |
J# |
---|
public void InsertOrReplace (
ITableEntity entity
) |
JScript |
---|
public function InsertOrReplace (
entity : ITableEntity
) |
Parameters
- entity
The entity whose contents are being inserted or replaced.
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