Creates a new IDataObjectContext instance that provides access to a collection of stores managed by a DotNetRDF IStorageServer instance.

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

Syntax

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

Parameters

storageServer
Type: IStorageServer
The DotNetRDF IStorageServer instance that manages the underlying data stores.
optimisticLockingEnabled (Optional)
Type: System..::..Boolean
A boolean flag indicating if the IDataObjectStore instances managed by this context should have optimistic locking enabled by default or not.

Remarks

This class can be used to access servers such as Stardog and Sesame that manage a collection of triple stores.

See Also