Click or drag to resize

BaseStardogConnectorSaveGraphAsync 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: SystemString
The ID of the transaction to use for the update.
autoCommit
Type: SystemBoolean
True to commit the transaction on completion.
g
Type: VDS.RDFIGraph
The graph to write.
callback
Type: VDS.RDF.StorageAsyncStorageCallback
Callback invoked on completion.
state
Type: SystemObject
State parameter to pass to the callback.
See Also