예제 #1
0
        protected override Expression PreProcess(Expression expression)
        {
            expression = base.PreProcess(expression);
            expression = MySqlInsertIntoAutoIncrementAmmender.Ammend(SqlReferencesColumnDeferrabilityRemover.Remove(expression), this.sqlDataTypeProvider);

            return(expression);
        }
        public static Expression Ammend(Expression expression, SqlDataTypeProvider sqlDataTypeProvider)
        {
            var processor = new MySqlInsertIntoAutoIncrementAmmender(sqlDataTypeProvider);

            return(processor.Visit(expression));
        }
        public static Expression Ammend(Expression expression, SqlDataTypeProvider sqlDataTypeProvider)
        {
            var processor = new MySqlInsertIntoAutoIncrementAmmender(sqlDataTypeProvider);

            return processor.Visit(expression);
        }