IMobileServiceTable<T>.InsertAsync
Method
Definition
Overloads
| InsertAsync(T) |
Insert a new instance into the table. |
| InsertAsync(T, IDictionary<String,String>) |
Insert a new instance into the table. |
InsertAsync(T)
Insert a new instance into the table.
public System.Threading.Tasks.Task InsertAsync (T instance);
Parameters
- instance
- T
The instance to insert.
Returns
A task that will complete when the insertion has finished.
InsertAsync(T, IDictionary<String,String>)
Insert a new instance into the table.
public System.Threading.Tasks.Task InsertAsync (T instance, System.Collections.Generic.IDictionary<string,string> parameters);
Parameters
- instance
- T
The instance to insert.
- parameters
- IDictionary<String,String>
A dictionary of user-defined parameters and values to include in the request URI query string.
Returns
A task that will complete when the insertion has finished.