TableOperation.Insert 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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應