Sunday, February 05, 2012
Support » Support Forum
Register Login
HomeWhat is NDO?- Executive Overview- NDO for DevelopersHow NDO Works- Persistent Classes- Mapping- Queries- Reverse Engineering- Inheritance, Polymorphism- Distributed ApplicationsLicensingSupport- Support Forum- FAQ- Solutions- Downloads- E-Mail Support- Tutorial VideosOnline ShopContact
Welcome to the NDO support forum!
Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender. Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts. The forum software requires that javascript is enabled. Please do not insert licence information or licence keys in forum posts. If you know a good answer to a post of another user, feel free to reply! The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.
Hi Tobias,
have a look at your NDO Configuration settings. Make sure to enable the enhancer for the assembly the persistent class resides in. There is a description of the settings in the Tutorial section of the NDO documentation. You can find a description of the settings in the online tutorial video too. The steps are as follows:
1. Mark your class as [NDOPersistent]2. Enable the enhancer for the assembly3. Enable the Add-in (but not the enhancer) for the assembly consuming the persistent class. This is not necessary, but makes things easier. Let NDO always generate the schema files.4. After Compilation look at the project of the consuming assembly (most probably your App). It should contain a NDOMapping.xml file. If not, the file should be in the project directory and can be inserted into the project manually. (This is for your convenience only--NDO works without the file beeing part of the project.) Open the file and make sure, it contains a mapping entry for your class.5. If step 4 fails repeat step 4 with the assembly containing your persistent class.
If one of the steps 4 or 5 fails, look, if you can find the reason for the failure in the NDO configuration. If you get stuck, copy the solution and strip it down to a minimal size showing the same behavior. Send the zipped solution to us and we'll help you.
RegardsMirko
Oh, yes, we have to change the NDO configuration dialog in the next release to not allow to disable "merge from base assembly"....
Best regardsMirko