Command Line Arguments

List of command line arguments:

auto|migrate flag to generate migration files or to migrate a database.
  • -v|version version to migrate to
  • -m|module module to migrate to
  • -f|file|filename output file for auto generation
  • -sf separate files use this flag if you want to create one file for each schema object (eg: create_{0}.cs).
  • -s Target Data Source
  • -db DataBase catalog
  • -u|user username for accessing the db
  • -p|pass password for accessing the db

Examples:

rkmigrations.exe auto -db:testDb -s:MyServer -u:foo -pass:fooPass -f:create_{0}.cs -sf
Will generate Cs migration files from Myserver/testDb using foo(fooPass) for access.
an exemple result cuold be something like:
create_Table1.cs
create_Table2.cs
create_View1.cs

Last edited Mar 29, 2008 at 2:26 PM by grava, version 1

Comments

No comments yet.