TableOperation.InsertOrMerge(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.
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.