BaseStardogConnectorUpdateGraphAsync Method (String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object) |
Apply an update to a graph.
Namespace:
VDS.RDF.Storage
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax protected virtual void UpdateGraphAsync(
string graphUri,
IEnumerable<Triple> additions,
IEnumerable<Triple> removals,
AsyncStorageCallback callback,
Object state
)
Protected Overridable Sub UpdateGraphAsync (
graphUri As String,
additions As IEnumerable(Of Triple),
removals As IEnumerable(Of Triple),
callback As AsyncStorageCallback,
state As Object
)
Parameters
- graphUri
- Type: SystemString
The URI of the graph to be updated. - additions
- Type: System.Collections.GenericIEnumerableTriple
The triples to insert. - removals
- Type: System.Collections.GenericIEnumerableTriple
The triples to delete. - callback
- Type: VDS.RDF.StorageAsyncStorageCallback
Callback invoked on completion. - state
- Type: SystemObject
Additional state passed to the callback.
Remarks If a transaction is currently in progress, the update is applied
as part of that transaction. Otherwise a new transaction is started and committed by this method.
See Also