BuildText() public method

public BuildText ( LambdaExpression expression ) : ReturnExpression
expression System.Linq.Expressions.LambdaExpression
return ReturnExpression
コード例 #1
0
        ICypherFluentQuery <TResult> With <TResult>(LambdaExpression expression)
        {
            var withExpression = CypherWithExpressionBuilder.BuildText(expression, camelCaseProperties);

            return(Mutate <TResult>(w =>
            {
                w.ResultMode = withExpression.ResultMode;
                w.AppendClause("WITH " + withExpression.Text);
            }));
        }
コード例 #2
0
        ICypherFluentQuery <TResult> With <TResult>(LambdaExpression expression)
        {
            var expressionBuilder = new CypherWithExpressionBuilder(Client.CypherCapabilities, CamelCaseProperties);
            var withExpression    = expressionBuilder.BuildText(expression);

            return(Mutate <TResult>(w =>
            {
                w.ResultMode = withExpression.ResultMode;
                w.AppendClause("WITH " + withExpression.Text);
            }));
        }