Click or drag to resize

SparqlHttpProtocolConnectorUpdateGraph Method (String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)

Updates a Graph on the Protocol Server.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public override void UpdateGraph(
	string graphUri,
	IEnumerable<Triple> additions,
	IEnumerable<Triple> removals,
	AsyncStorageCallback callback,
	Object state
)

Parameters

graphUri
Type: SystemString
URI of the Graph to update.
additions
Type: System.Collections.GenericIEnumerableTriple
Triples to be added.
removals
Type: System.Collections.GenericIEnumerableTriple
Triples to be removed.
callback
Type: VDS.RDF.StorageAsyncStorageCallback
Callback.
state
Type: SystemObject
State to pass to the callback.

Implements

IAsyncStorageProviderUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
IAsyncStorageProviderUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Remarks
Note: The SPARQL Graph Store HTTP Protocol for Graph Management only supports the addition of Triples to a Graph and does not support removal of Triples from a Graph. If you attempt to remove Triples then an RdfStorageException will be thrown.
See Also