Click or drag to resize

StardogV2Connector.Update Method (String, AsyncStorageCallback, Object)

Executes a SPARQL Update against the Stardog store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void Update(
	string sparqlUpdates,
	AsyncStorageCallback callback,
	Object state
)

Parameters

sparqlUpdates
Type: System.String
SPARQL Update.
callback
Type: VDS.RDF.Storage.AsyncStorageCallback
Callback.
state
Type: System.Object
State to pass to callback.

Implements

IAsyncUpdateableStorage.Update(String, AsyncStorageCallback, Object)
Remarks
Stardog executes SPARQL update requests in their own self contained transactions which do not interact with normal Stardog transactions that may be managed via this API. In some cases this can lead to unexpected behaviour, for example if you call Begin(AsyncStorageCallback, Object), make an update and then call Rollback(AsyncStorageCallback, Object) the updates will not be rolled back.
See Also