TableOperation.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.
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 replaced with the provided entity.
public static Microsoft.Azure.Cosmos.Table.TableOperation InsertOrReplace (Microsoft.Azure.Cosmos.Table.ITableEntity entity);
static member InsertOrReplace : Microsoft.Azure.Cosmos.Table.ITableEntity -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function InsertOrReplace (entity As ITableEntity) As TableOperation
Parameters
- entity
- ITableEntity
The ITableEntity object to be inserted or replaced.
Returns
The TableOperation object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET