Click or drag to resize

StardogV2ConnectorUpdate 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: SystemString
SPARQL Update.
callback
Type: VDS.RDF.StorageAsyncStorageCallback
Callback.
state
Type: SystemObject
State to pass to callback.

Implements

IAsyncUpdateableStorageUpdate(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