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, I have created schema in designer (model first) then put into database. I have this line in the generated code:
[ ForeignKeyField("Id.AppInstanceId")] and I'm getting the following error: The type or namespace name 'ForeignKeyField' could not be found ( are you missing a using directive or an assembly reference?) What's wrong there? I'm using Lightspeed Mindscape.Lightspeed reference Version 3.0.789.12667 Thank you Sally
|
|
|
You are using an old version of Mindscape.LightSpeed.dll. ForeignKeyFieldAttribute was introduced in LightSpeed 3.1; you are using a 3.0 DLL, but for some reason you have version 3.1 (or above) of the designer. Please upgrade to LightSpeed 3.11 (or the latest nightly). If your project uses a private folder for referenced assemblies (e.g. a Lib folder), make sure that the 3.11 DLLs are copied to that folder. |
|