TableBatchOperation.InsertOrReplace(ITableEntity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.