internal static IEnumerable <IExpressionPart> GetFluxExpressions(Expression expression, object clause,
                                                                         QueryGenerationContext context)
        {
            Arguments.CheckNotNull(expression, nameof(expression));
            Arguments.CheckNotNull(clause, nameof(clause));
            Arguments.CheckNotNull(context, nameof(context));

            var visitor = new QueryExpressionTreeVisitor(clause, context);

            visitor.Visit(expression);
            return(visitor.GetFluxExpressions());
        }
コード例 #2
0
 private IEnumerable <IExpressionPart> GetExpressions(Expression expression, object clause)
 {
     return(QueryExpressionTreeVisitor.GetFluxExpressions(expression, clause, _context));
 }