BaseStardogConnector.UpdateGraphAsync Method (String, Boolean, String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Apply an update to a graph as part of a transaction.
Namespace:
VDS.RDF.Storage
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxprotected virtual void UpdateGraphAsync(
string tID,
bool autoCommit,
string graphUri,
IEnumerable<Triple> additions,
IEnumerable<Triple> removals,
AsyncStorageCallback callback,
Object state
)
Protected Overridable Sub UpdateGraphAsync (
tID As String,
autoCommit As Boolean,
graphUri As String,
additions As IEnumerable(Of Triple),
removals As IEnumerable(Of Triple),
callback As AsyncStorageCallback,
state As Object
)
Parameters
- tID
- Type: System.String
The ID of the open transaction to use. - autoCommit
- Type: System.Boolean
True to commit the transaction at the end of the update, false otherwise. - graphUri
- Type: System.String
The URI of the graph to be updated. - additions
- Type: System.Collections.Generic.IEnumerable<Triple>
The triples to inser. - removals
- Type: System.Collections.Generic.IEnumerable<Triple>
The triples to remove. - callback
- Type: VDS.RDF.Storage.AsyncStorageCallback
A callback to be invoked on completion. - state
- Type: System.Object
Additional state to pass to the callback.
See Also