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
|
My issue is linkage between two SQL databases on same instance through LightSpeed. I have 2 separate model, model A has a ID that like a foregin key links to Model/Database B. How I can resovle this? Do I need a separate link table between databases? Thanks. |
|
|
No this is not supported, LightSpeed expects to find all of the entities within the database pointed to by the LightSpeedContext connection string. You can have two separate contexts either with the same or different models but you wont be able to handle links between them directly. What are you trying to achieve though because for querying it may be possible to manage things manually.
|
|