This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I would like to seed the database with some data during a migration. This requires that I configure a LightSpeed context and UnitOfWork, which in turn requires a provider type (which I can get as a property on the Migration). How do I get hold of the connection string used for the migration? I am running the migration against different databases which are specified at runtime. So reading it from a configuration file isn't ideal. Thanks, Werner |
|
|
Hello Werner, The connection string is not currently exposed to the migration. I've added it for the next nightly build. |
|
|
Awesome! Thank you very much. |
|