Esempio n. 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);
            }));
        }
Esempio n. 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);
            }));
        }