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