Creates a new data object context that provides access to a single DotNetRDF storage provider

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

Syntax

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

Parameters

storeName
Type: System..::..String
The name to use for the BrightstarDB store created from the storage provider
storageProvider
Type: IStorageProvider
The storage provider to use to create the BrightstarDB store
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