Click or drag to resize

FourStoreConnectorUpdateGraph Method (String, IEnumerableTriple, IEnumerableTriple)

Updates a Graph in the store.

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

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.

Implements

IStorageProviderUpdateGraph(String, 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