Share via


table_operation::insert_or_replace_entity Method

Creates a new table operation to insert the specified entity if the entity does not exist; if the entity does exist, then its contents are replaced with the specified entity.

static const table_operation insert_or_replace_entity(
   table_entity entity
);

Parameters

  • entity
    The entity whose contents are being inserted or replaced.

Return Value

A azure::storage::table_operation object.

Requirements

Header: table.h

Namespace: azure::storage

See Also

Reference

table_operation Class