Click or drag to resize

FourStoreConnectorSaveGraph Method (IGraph)

Saves a Graph to a 4store instance (Warning: Completely replaces any existing Graph with the same URI).

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void SaveGraph(
	IGraph g
)

Parameters

g
Type: VDS.RDFIGraph
Graph to save.

Implements

IStorageProviderSaveGraph(IGraph)
Exceptions
ExceptionCondition
RdfStorageExceptionThrown if you try and save a Graph without a Base Uri or if there is an error communicating with the 4store instance.
Remarks

Completely replaces any existing Graph with the same Uri in the store.

Attempting to save a Graph which doesn't have a Base Uri will result in an error.

See Also