Friday, February 10, 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,
DateTime is a ValueType too. It gets initialized by the .NET system with DateTime.MinValue. So don't check for "null", but for DateTime.MinValue.
As for the debugging issue: Touch the text of the source containing your GetHashCode method, do not compile, just hit F5.
RegardsMirko
sorry for not seeing this earlier. It seems to be the same bug we discussed via EMail. Try the following:
DateTime lc = lastChanged;if (lc != DateTime.MinValue) hc ^= lc.GetHashCode();
Since DateTime.MinValue has a hash code too, you can omit the test for MinValue.
We'll publish a bug fix for the phenomen next week.
Best Regards:Mirko