Creates a new data object context that provides access to one or more instances of the IStorageProvider interface configured in a DotNetRDF configuration graph

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public DotNetRdfStorageProvidersDataObjectContext(
	IGraph configurationGraph,
	bool optimisticLockingEnabled = false
)
Visual Basic
Public Sub New ( 
	configurationGraph As IGraph,
	Optional optimisticLockingEnabled As Boolean = false
)
Visual C++
public:
DotNetRdfStorageProvidersDataObjectContext(
	IGraph^ configurationGraph, 
	bool optimisticLockingEnabled = false
)
F#
new : 
        configurationGraph : IGraph * 
        ?optimisticLockingEnabled : bool 
(* Defaults:
        let _optimisticLockingEnabled = defaultArg optimisticLockingEnabled false
*)
-> DotNetRdfStorageProvidersDataObjectContext

Parameters

configurationGraph
Type: IGraph
The RDF graph providing the storage provider configuration(s)
optimisticLockingEnabled (Optional)
Type: System..::..Boolean
Boolean flag indicating whether optimistic locking should be enabled by default for the stores provided by this context

See Also