Creates a new 
IDataObjectContext instance that uses SPARQL query and update
            to access RDF data.
            
 Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
| C# | 
|---|
public SparqlDataObjectContext(
	ISparqlQueryProcessor queryProcessor,
	ISparqlUpdateProcessor updateProcessor,
	bool optimisticLocking,
	string storeName = "sparql"
)  | 
| Visual Basic | 
|---|
Public Sub New ( 
	queryProcessor As ISparqlQueryProcessor,
	updateProcessor As ISparqlUpdateProcessor,
	optimisticLocking As Boolean,
	Optional storeName As String = "sparql"
)  | 
| Visual C++ | 
|---|
public:
SparqlDataObjectContext(
	ISparqlQueryProcessor^ queryProcessor, 
	ISparqlUpdateProcessor^ updateProcessor, 
	bool optimisticLocking, 
	String^ storeName = L"sparql"
)  | 
| F# | 
|---|
new : 
        queryProcessor : ISparqlQueryProcessor * 
        updateProcessor : ISparqlUpdateProcessor * 
        optimisticLocking : bool * 
        ?storeName : string 
(* Defaults:
        let _storeName = defaultArg storeName "sparql"
*)
-> SparqlDataObjectContext | 
Parameters
- queryProcessor
 - Type: ISparqlQueryProcessor
The SPARQL query processor to use for read/query  
- updateProcessor
 - Type: ISparqlUpdateProcessor
The SPARQL update processor to use for update 
- optimisticLocking
 - Type: System..::..Boolean
Boolean flag indicating if optimistic locking should be enabled by default for the stores
            accessed via this context. 
- storeName (Optional)
 - Type: System..::..String
Overrides the default store name of 'sparql' for the store managed by this context 
See Also