Hi,
I've been using the migrator framework, and everything has been going fine,
except for one thing, I want to load up a referenced aseembly (this has
file access methods) as originally I wanted to extend the migrator code to
include something I think it's lacking, a simple file read implementation.
If I want to script database changes from a tool like "Sql Management
Studio" I have to input the sql into the compiled code (I don't like this
approach) or read in a file, meaning I have to have a additional class in
my migrations library to handle exactly that (I think the migration folder
should only have database specific code in it).
I wanted to add a method to the base "Migrator" object to handle reading in
a sql file from the file system, a handy tool to have if you use something
like sql compare to do database scripting. instead i created a little IO
library that handles reading in the file data. I think it would be a nice
feature instead of always having to handle the reading of the file and the
exceptions.
I've had a look at the scripting engine, and then the Nant Build task, the
scriptengine never gets called using the constructor that has the
referenced assemblies, a null value is always passed, is this property
configurable somewhere in the build file?
Cheers,
Ryan
Original issue reported on code.google.com by r.w.mcgr...@gmail.com on 15 Apr 2009 at 11:19
Original issue reported on code.google.com by
r.w.mcgr...@gmail.com
on 15 Apr 2009 at 11:19