IMobileServiceLocalStore.UpsertAsync 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.
Updates or inserts data in local table.
public System.Threading.Tasks.Task UpsertAsync (string tableName, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JObject> items, bool ignoreMissingColumns);
abstract member UpsertAsync : string * seq<Newtonsoft.Json.Linq.JObject> * bool -> System.Threading.Tasks.Task
Public Function UpsertAsync (tableName As String, items As IEnumerable(Of JObject), ignoreMissingColumns As Boolean) As Task
Parameters
- tableName
- String
Name of the local table.
- items
- IEnumerable<Newtonsoft.Json.Linq.JObject>
A list of items to be inserted.
- ignoreMissingColumns
- Boolean
true
if the extra properties on item can be ignored; false
otherwise.
Returns
A task that completes when item has been upserted in local table.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.