Creates a new query context instance
Namespace: BrightstarDB.EntityFramework.QueryAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public SparqlLinqQueryContext(
string sparqlQuery,
IEnumerable<Tuple<string, string>> anonymousMembersMap,
ConstructorInfo constructor,
List<string> constructorArgs,
List<Tuple<MemberInfo, string>> memberMap,
Expression memberInitExpression,
IEnumerable<OrderingDirection> orderingDirections
) |
Visual Basic |
---|
Public Sub New (
sparqlQuery As String,
anonymousMembersMap As IEnumerable(Of Tuple(Of String, String)),
constructor As ConstructorInfo,
constructorArgs As List(Of String),
memberMap As List(Of Tuple(Of MemberInfo, String)),
memberInitExpression As Expression,
orderingDirections As IEnumerable(Of OrderingDirection)
) |
Visual C++ |
---|
public:
SparqlLinqQueryContext(
String^ sparqlQuery,
IEnumerable<Tuple<String^, String^>^>^ anonymousMembersMap,
ConstructorInfo^ constructor,
List<String^>^ constructorArgs,
List<Tuple<MemberInfo^, String^>^>^ memberMap,
Expression^ memberInitExpression,
IEnumerable<OrderingDirection>^ orderingDirections
) |
F# |
---|
new :
sparqlQuery : string *
anonymousMembersMap : IEnumerable<Tuple<string, string>> *
constructor : ConstructorInfo *
constructorArgs : List<string> *
memberMap : List<Tuple<MemberInfo, string>> *
memberInitExpression : Expression *
orderingDirections : IEnumerable<OrderingDirection> -> SparqlLinqQueryContext |
Parameters
- sparqlQuery
- Type: System..::..String
The SPARQL query to be executed
- anonymousMembersMap
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Tuple<(Of <(<'String, String>)>)>>)>)>
A list of tuples that bind the names of the anonymous result types members to the SPARQL variable that provides the value for that member
- constructor
- Type: System.Reflection..::..ConstructorInfo
The constructor to invoke to bind a SPARQL results row to a result object
- constructorArgs
- Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
A list of the SPARQL bindings that are to be passed into the constructor
- memberMap
- Type: System.Collections.Generic..::..List<(Of <(<'Tuple<(Of <(<'MemberInfo, String>)>)>>)>)>
A list of tuples that bind the names of result object members to the SPARQL variables that provides the value for the member
- memberInitExpression
- Type: System.Linq.Expressions..::..Expression
A LINQ expression that is used to initialize the members of the results object from a SPARQL results row
- orderingDirections
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'OrderingDirection>)>)>
An enumeration of the orderings for each of the sort variables in the SPARQL query
See Also