Click or drag to resize

BaseStardogConnector.SaveGraphAsync Method (String, Boolean, IGraph, AsyncStorageCallback, Object)

Save a graph to the database asynchronously within the context of an open transaction.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
protected virtual void SaveGraphAsync(
	string tID,
	bool autoCommit,
	IGraph g,
	AsyncStorageCallback callback,
	Object state
)

Parameters

tID
Type: System.String
The ID of the transaction to use for the update.
autoCommit
Type: System.Boolean
True to commit the transaction on completion.
g
Type: VDS.RDF.IGraph
The graph to write.
callback
Type: VDS.RDF.Storage.AsyncStorageCallback
Callback invoked on completion.
state
Type: System.Object
State parameter to pass to the callback.
See Also