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
|
Hi :)
Is there any way of specifying the table name that is used for key table?
|
|
|
Yes, there is, though it is a little bit fiddly. If you assign an INamingStrategy on the LightSpeedContext, this is used for all table names, including the key table name. So implement INamingStrategy and in your implementation of GetTableName, check for the name "KeyTable" and provide special handling for that. For all other cases, either delegate to DefaultNamingStrategy, or just return defaultName (which is what DefaultNamingStrategy does). |
|
|
Thanks for the tip :) I will try your suggestion. |
|