Пример #1
0
            private Expression DoPrepare(Expression expression)
            {
                if (preparer.CanPrepare(expression))
                {
                    expression = preparer.Prepare(expression);
                }

                return(expression);
            }
Пример #2
0
        public override SqlExpression Visit(SqlExpression expression)
        {
            if (preparer != null &&
                preparer.CanPrepare(expression))
            {
                expression = preparer.Prepare(expression);
            }

            return(base.Visit(expression));
        }