Creates a new domain context and connects to the store specified in the configuration connectionString.

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

Syntax

C#
protected BrightstarEntityContext(
	string updateGraphUri = null,
	IEnumerable<string> datasetGraphUris = null,
	string versionGraphUri = null
)
Visual Basic
Protected Sub New ( 
	Optional updateGraphUri As String = Nothing,
	Optional datasetGraphUris As IEnumerable(Of String) = Nothing,
	Optional versionGraphUri As String = Nothing
)
Visual C++
protected:
BrightstarEntityContext(
	String^ updateGraphUri = nullptr, 
	IEnumerable<String^>^ datasetGraphUris = nullptr, 
	String^ versionGraphUri = nullptr
)
F#
new : 
        ?updateGraphUri : string * 
        ?datasetGraphUris : IEnumerable<string> * 
        ?versionGraphUri : string 
(* Defaults:
        let _updateGraphUri = defaultArg updateGraphUri null
        let _datasetGraphUris = defaultArg datasetGraphUris null
        let _versionGraphUri = defaultArg versionGraphUri null
*)
-> BrightstarEntityContext

Parameters

updateGraphUri (Optional)
Type: System..::..String
OPTIONAL: The URI identifier of the graph to be updated with any new triples created by operations on the store. If not defined, the default graph in the store will be updated.
datasetGraphUris (Optional)
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
OPTIONAL: The URI identifiers of the graphs that will be queried to retrieve entities and their properties. If not defined, all graphs in the store will be queried.
versionGraphUri (Optional)
Type: System..::..String
OPTIONAL: The URI identifier of the graph that contains version number statements for entities. If not defined, the updateGraphUri will be used.

See Also