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