Share via


TableOperation.InsertOrMerge(ITableEntity) Method

Definition

Creates a new table operation that inserts the given 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 static Microsoft.Azure.Cosmos.Table.TableOperation InsertOrMerge (Microsoft.Azure.Cosmos.Table.ITableEntity entity);
static member InsertOrMerge : Microsoft.Azure.Cosmos.Table.ITableEntity -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function InsertOrMerge (entity As ITableEntity) As TableOperation

Parameters

entity
ITableEntity

The ITableEntity object to be inserted or merged.

Returns

The TableOperation object.

Applies to