Click or drag to resize

FourStoreConnectorUpdateGraph Method (Uri, IEnumerableTriple, IEnumerableTriple)

Updates a Graph in the store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void UpdateGraph(
	Uri graphUri,
	IEnumerable<Triple> additions,
	IEnumerable<Triple> removals
)

Parameters

graphUri
Type: SystemUri
Uri of the Graph to Update.
additions
Type: System.Collections.GenericIEnumerableTriple
Triples to be added.
removals
Type: System.Collections.GenericIEnumerableTriple
Triples to be removed.

Implements

IStorageProviderUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Remarks
May throw an error since the default builds of 4store don't support Triple level updates. There are builds that do support this and the user can instantiate the connector with support for this enabled if they wish, if they do so and the underlying 4store doesn't support updates errors will occur when updates are attempted.
See Also