schambers/fluentmigrator — Issue #246: Execute.WithConnection applies changes to DB in preview mode
Author: kieranmaine
Created: 2012-02-29 13:24:44+00:00
State: open

When running migrations in preview mode all Execute.WithConnection methods that make DB changes (schema or data) are being applied to the database.

The problem appears to be that the method

```
void Process(PerformDBOperationExpression expression)
```

in all the classes that implement IMigrationProcessor is not checking to see if the Options.PreviewOnly is true.