Inheritance: SqlExpressionVisitor
Beispiel #1
0
        protected override Expression PreProcess(Expression expression)
        {
            expression = base.PreProcess(expression);
            expression = MySqlAutoIncrementAmender.Amend(expression);
            expression = MySqlInsertIntoAutoIncrementAmender.Amend(SqlReferencesColumnDeferrabilityRemover.Remove(expression), this.sqlDataTypeProvider);

            return(expression);
        }
        protected override Expression PreProcess(Expression expression)
        {
            expression = base.PreProcess(expression);
            expression = MySqlAutoIncrementAmender.Amend(expression);
            expression = MySqlInsertIntoAutoIncrementAmender.Amend(SqlReferencesColumnDeferrabilityRemover.Remove(expression));
            expression = MySqlNestedTableReferenceInUpdateFixer.Fix(expression);

            return(expression);
        }
        protected override Expression PreProcess(Expression expression)
        {
            expression = base.PreProcess(expression);
            expression = MySqlAutoIncrementAmender.Amend(expression);
            expression = MySqlInsertIntoAutoIncrementAmender.Amend(SqlReferencesColumnDeferrabilityRemover.Remove(expression));
            expression = MySqlNestedTableReferenceInUpdateFixer.Fix(expression);
            expression = MySqlDefaultValueConstraintFixer.Fix(expression);

            if (this.silentlyIgnoreIndexConditions)
            {
                expression = MySqlIndexConditionRemover.Remove(expression);
            }

            return(expression);
        }
Beispiel #4
0
        public static Expression Amend(Expression expression)
        {
            var processor = new MySqlAutoIncrementAmender();

            return(processor.Visit(expression));
        }
        public static Expression Amend(Expression expression)
        {
            var processor = new MySqlAutoIncrementAmender();

            return processor.Visit(expression);
        }