Click or drag to resize

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
)

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