Click or drag to resize

IStorageProviderLoadGraph Method (IGraph, String)

Loads a Graph from the Store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
void LoadGraph(
	IGraph g,
	string graphUri


Type: VDS.RDFIGraph
Graph to load into.
Type: SystemString
URI of the Graph to load.

If the Graph being loaded into is Empty then it's Base Uri should become the Uri of the Graph being loaded, otherwise it should be merged into the existing non-empty Graph whose Base Uri should be unaffected.

Behaviour of this method with regards to non-existent Graphs is up to the implementor, an empty Graph may be returned or an error thrown. Implementors should state in the XML comments for their implementation what behaviour is implemented.

See Also