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
|
I need to create a table using " CREATE TABLE bla,bla" at runtime using Lightspeed. How ?
Thanks. |
|
|
You can use IUnitOfWork.PrepareCommand. Note however that all this does is hook the command up to the connection and enrol it in the unit of work's transaction; you will still need to create the database-specific command object yourself, e.g. IDbCommand cmd = new SqlCommand(). |
|