internal SelectAssignmentVariableNamePart(SelectBuilder selectBuilder, Func <ExpressionBuilder, PrimaryExpression <TExpression> > buildAssignmentExpression) : base(buildAssignmentExpression) { _selectBuilder = selectBuilder; }
internal QueryBuilder(SelectBuilder selectBuilder) : this(selectBuilder.SparqlQueryType) { _selectBuilder = selectBuilder; }
/// <summary> /// Creates a new SELECT query which will return an expression /// </summary> public static IAssignmentVariableNamePart <ISelectBuilder> Select(Func <ExpressionBuilder, SparqlExpression> buildAssignmentExpression) { SelectBuilder selectBuilder = (SelectBuilder)Select(new SparqlVariable[0]); return(new SelectAssignmentVariableNamePart(selectBuilder, buildAssignmentExpression)); }
/// <summary> /// Creates a new SELECT query which will return an expression /// </summary> public static IAssignmentVariableNamePart <ISelectBuilder> Select <TExpression>(Func <IExpressionBuilder, PrimaryExpression <TExpression> > buildAssignmentExpression) { SelectBuilder selectBuilder = (SelectBuilder)Select(new SparqlVariable[0]); return(new SelectAssignmentVariableNamePart <TExpression>(selectBuilder, buildAssignmentExpression)); }
internal SelectAssignmentVariableNamePart(SelectBuilder selectBuilder, Func <ExpressionBuilder, SparqlExpression> buildAssignmentExpression) : base(buildAssignmentExpression) { _selectBuilder = selectBuilder; }