TableController<TData>.InsertAsync Method (TData)

 

Provides a helper method for inserting an entity into a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

protected virtual Task<TData> InsertAsync(
	TData item
)

Return Value

Type: System.Threading.Tasks.Task<TData>

A Task<TResult> representing the insert operation executed by the the IDomainManager<TData>.

Return to top
Show: