Condividi tramite


TableBatchOperation.InsertOrReplace(ITableEntity) Method

Definition

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.

public void InsertOrReplace (Microsoft.Azure.Cosmos.Table.ITableEntity entity);
member this.InsertOrReplace : Microsoft.Azure.Cosmos.Table.ITableEntity -> unit
Public Sub InsertOrReplace (entity As ITableEntity)

Parameters

entity
ITableEntity

The entity whose contents are being inserted or replaced.

Applies to