共用方式為


TableBatchOperation.InsertOrMerge(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 merged with the provided entity.

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

Parameters

entity
ITableEntity

The entity whose contents are being inserted or merged.

Applies to