Condividi tramite


TableBatchOperation.Insert Method

Definition

Overloads

Insert(ITableEntity, Boolean)

Adds a TableOperation object that inserts the specified entity into the table as part of the batch operation.

Insert(Int32, TableOperation)

Inserts a TableOperation into the TableBatchOperation at the specified index.

Insert(ITableEntity)

Adds a TableOperation to the TableBatchOperation that inserts the specified entity into a table.

Insert(ITableEntity, Boolean)

Adds a TableOperation object that inserts the specified entity into the table as part of the batch operation.

public void Insert (Microsoft.Azure.Cosmos.Table.ITableEntity entity, bool echoContent);
member this.Insert : Microsoft.Azure.Cosmos.Table.ITableEntity * bool -> unit
Public Sub Insert (entity As ITableEntity, echoContent As Boolean)

Parameters

entity
ITableEntity

The entity to be inserted into the table.

echoContent
Boolean

true if the message payload should be returned in the response to the insert operation;otherwise, false.

Applies to

Insert(Int32, TableOperation)

Inserts a TableOperation into the TableBatchOperation at the specified index.

public void Insert (int index, Microsoft.Azure.Cosmos.Table.TableOperation item);
abstract member Insert : int * Microsoft.Azure.Cosmos.Table.TableOperation -> unit
override this.Insert : int * Microsoft.Azure.Cosmos.Table.TableOperation -> unit
Public Sub Insert (index As Integer, item As TableOperation)

Parameters

index
Int32

The index at which to insert the TableOperation.

item
TableOperation

The TableOperation item to insert.

Implements

Applies to

Insert(ITableEntity)

Adds a TableOperation to the TableBatchOperation that inserts the specified entity into a table.

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

Parameters

entity
ITableEntity

The entity to be inserted into the table.

Applies to