Example #1
0
 internal SelectAssignmentVariableNamePart(SelectBuilder selectBuilder, Func <ExpressionBuilder, PrimaryExpression <TExpression> > buildAssignmentExpression)
     : base(buildAssignmentExpression)
 {
     _selectBuilder = selectBuilder;
 }
Example #2
0
 internal QueryBuilder(SelectBuilder selectBuilder)
     : this(selectBuilder.SparqlQueryType)
 {
     _selectBuilder = selectBuilder;
 }
Example #3
0
        /// <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));
        }
Example #4
0
        /// <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));
        }
Example #5
0
 internal SelectAssignmentVariableNamePart(SelectBuilder selectBuilder, Func <ExpressionBuilder, SparqlExpression> buildAssignmentExpression)
     : base(buildAssignmentExpression)
 {
     _selectBuilder = selectBuilder;
 }