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've deleted all the entyties in the lsModel and now i'm trying to update them from Database but, when i try to do that, the lsModel don't match the entyties. what can i do? |
|
|
Firstly, the update mechanism will consider only entities that exist in the model -- it does not attempt to bring in other tables from the database (because who knows what sort of other stuff might be in there). So if you have deleted all your entities from the .lsmodel, then the updater will think it has nothing to do. To recreate these entities, just drag the corresponding table from Server Explorer onto the design surface. For entities which do exist, when you say that after updating "the lsmodel doesn't match the entities" can you clarify what you are seeing? Is it incorrectly telling you that the entities are up to date? Is it suggesting incorrect updates? Is the result of applying the updates incorrect? Is it still reporting that there are updates to be made even after you have applied all the updates it suggested? If you could supply us with: * Your database schema in the form of SQL CREATE TABLE statements * The type and version of your database (SQL Server 2005, MySQL 5.1, etc.) * The .lsmodel file which is not updating correctly * What you see when you choose Update From Source (message box text, output window messages, etc.) we will look into this for you. Thanks! |
|