Create a new instance of DotNetRdfDataObjectContext with a specific ISparqlQueryProcessor and ISparqlUpdateProcessor instance that serves up a single named store.

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

Syntax

C#
public DotNetRdfDataObjectContext(
	string storeName,
	ISparqlQueryProcessor queryProcessor,
	ISparqlUpdateProcessor updateProcessor
)
Visual Basic
Public Sub New ( 
	storeName As String,
	queryProcessor As ISparqlQueryProcessor,
	updateProcessor As ISparqlUpdateProcessor
)
Visual C++
public:
DotNetRdfDataObjectContext(
	String^ storeName, 
	ISparqlQueryProcessor^ queryProcessor, 
	ISparqlUpdateProcessor^ updateProcessor
)
F#
new : 
        storeName : string * 
        queryProcessor : ISparqlQueryProcessor * 
        updateProcessor : ISparqlUpdateProcessor -> DotNetRdfDataObjectContext

Parameters

storeName
Type: System..::..String
The name of the store that will be provided by this context
queryProcessor
Type: ISparqlQueryProcessor
The ISparqlQueryProcessor instance that provides SPARQL query functionality for the store.
updateProcessor
Type: ISparqlUpdateProcessor
The ISparqlUpdateProcessor instance that provides SPARQL update functionality for the store.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionRaised if storeName is NULL or an empty string
System..::..ArgumentNullExceptionRaised if queryProcessor or updateProcessor is NULL

See Also