Inheritance: SqlExpressionVisitor
コード例 #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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        public static Expression Amend(Expression expression)
        {
            var processor = new MySqlAutoIncrementAmender();

            return(processor.Visit(expression));
        }
コード例 #5
0
        public static Expression Amend(Expression expression)
        {
            var processor = new MySqlAutoIncrementAmender();

            return processor.Visit(expression);
        }