Creates a new data object context that provides access to multiple DotNetRDF
storage providers
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public DotNetRdfStorageProvidersDataObjectContext(
IDictionary<string, IStorageProvider> storageProviders,
bool optimisticLockingEnabled = false
) |
Visual Basic |
---|
Public Sub New (
storageProviders As IDictionary(Of String, IStorageProvider),
Optional optimisticLockingEnabled As Boolean = false
) |
Visual C++ |
---|
public:
DotNetRdfStorageProvidersDataObjectContext(
IDictionary<String^, IStorageProvider^>^ storageProviders,
bool optimisticLockingEnabled = false
) |
F# |
---|
new :
storageProviders : IDictionary<string, IStorageProvider> *
?optimisticLockingEnabled : bool
(* Defaults:
let _optimisticLockingEnabled = defaultArg optimisticLockingEnabled false
*)
-> DotNetRdfStorageProvidersDataObjectContext |
Parameters
- storageProviders
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, IStorageProvider>)>)>
A dictionary mapping the name to use for the BrightstarDB store to the storage
provider that the BrightstarDB store will access
- 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