Executes a SPARQL query against the underlying store and binds the results to domain context objects

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

Syntax

C#
public override IEnumerable<T> ExecuteQuery<T>(
	SparqlLinqQueryContext sparqlLinqQueryContext
)
Visual Basic
Public Overrides Function ExecuteQuery(Of T) ( 
	sparqlLinqQueryContext As SparqlLinqQueryContext
) As IEnumerable(Of T)
Visual C++
public:
generic<typename T>
virtual IEnumerable<T>^ ExecuteQuery(
	SparqlLinqQueryContext^ sparqlLinqQueryContext
) override
F#
abstract ExecuteQuery : 
        sparqlLinqQueryContext : SparqlLinqQueryContext -> IEnumerable<'T> 
override ExecuteQuery : 
        sparqlLinqQueryContext : SparqlLinqQueryContext -> IEnumerable<'T> 

Parameters

sparqlLinqQueryContext
Type: BrightstarDB.EntityFramework.Query..::..SparqlLinqQueryContext
The query to be executed

Type Parameters

T
The type of domain context object to bind to

Return Value

Type: IEnumerable<(Of <(<'T>)>)>
An enumeration over the bound objects

Remarks

The SPARQL query should be written to return a single variable binding or triples binding.

See Also