Share via


TableOperation.Insert Method

Definition

Overloads

Insert(ITableEntity)

Creates a new table operation that inserts the given entity into a table.

Insert(ITableEntity, Boolean)

Creates a new table operation that inserts the given entity into a table.

Insert(ITableEntity)

Creates a new table operation that inserts the given entity into a table.

public static Microsoft.Azure.Cosmos.Table.TableOperation Insert (Microsoft.Azure.Cosmos.Table.ITableEntity entity);
static member Insert : Microsoft.Azure.Cosmos.Table.ITableEntity -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function Insert (entity As ITableEntity) As TableOperation

Parameters

entity
ITableEntity

The ITableEntity object to be inserted into the table.

Returns

The TableOperation object.

Applies to

Insert(ITableEntity, Boolean)

Creates a new table operation that inserts the given entity into a table.

public static Microsoft.Azure.Cosmos.Table.TableOperation Insert (Microsoft.Azure.Cosmos.Table.ITableEntity entity, bool echoContent);
static member Insert : Microsoft.Azure.Cosmos.Table.ITableEntity * bool -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function Insert (entity As ITableEntity, echoContent As Boolean) As TableOperation

Parameters

entity
ITableEntity

The ITableEntity object to be inserted into the table.

echoContent
Boolean

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

Returns

The TableOperation object.

Applies to