Hi,
I want use memcache in a site. to use it I need to serialize objects.
I serialized domain objects, but I have this error now:
Enyim.Caching.MemcachedClient - System.Runtime.Serialization.SerializationException: The type 'Devart.Data.Linq.a' in assembly 'Devart.Data.Linq, Version=2.50.29.0, Culture=neutral, PublicKeyToken=09af7300eec23701' is not marked as serializable.
With this object I can't serialize my objects.
How can I make internal types of devart serializable?
thanks to all
Search found 6 matches
- Mon 29 Aug 2011 17:23
- Forum: dotConnect for MySQL
- Topic: Serialize objects for use with memcache
- Replies: 1
- Views: 1975
- Wed 30 Sep 2009 13:34
- Forum: dotConnect for MySQL
- Topic: PropertyChanging NullReferenceException DateTime Field
- Replies: 16
- Views: 5565
- Fri 25 Sep 2009 13:52
- Forum: dotConnect for MySQL
- Topic: PropertyChanging NullReferenceException DateTime Field
- Replies: 16
- Views: 5565
Hi Andrey, thanks for the answer.
I think i'll get updates in the dotConnect for MySQL 5.40.44, right?
Please, can you explain me exactly why described scenario was wrong?
I used a normal table and, after generation of relate class, extend it with partial class (perhaps with fields mapped (and unmapped) directly to database table columns).
If i use table as is (without partial class), i don't have the same exception.
So i need to understand if solution that you propose is a workaround or there is a guidelines that i don't know .
Thank you very much for your collaboration
Best Regards
Alfonso Moscato
I think i'll get updates in the dotConnect for MySQL 5.40.44, right?
Please, can you explain me exactly why described scenario was wrong?
I used a normal table and, after generation of relate class, extend it with partial class (perhaps with fields mapped (and unmapped) directly to database table columns).
If i use table as is (without partial class), i don't have the same exception.
So i need to understand if solution that you propose is a workaround or there is a guidelines that i don't know .
Thank you very much for your collaboration
Best Regards
Alfonso Moscato
- Thu 24 Sep 2009 11:33
- Forum: dotConnect for MySQL
- Topic: PropertyChanging NullReferenceException DateTime Field
- Replies: 16
- Views: 5565
Hi Andrey, any news?AndreyR wrote:We have reproduced the problem. I will let you know about the results of our investigation.
we have great difficulties operating with this bug.
I would have expected as a paying user (code:dcmysql5pro) that you resolve critical bugs in a reasonable timeframe.
We tried also to switch to EF, but we found a bug also there.
So can you give us some prevision about bug resolution?
regards
Alfonso Moscato
- Tue 15 Sep 2009 17:14
- Forum: dotConnect for MySQL
- Topic: PropertyChanging NullReferenceException DateTime Field
- Replies: 16
- Views: 5565
Hi we did send today a little project reproducing the bug.Shalex wrote:Alfmos, could you please send us a small test project to reproduce the error? Please contact us via our contact form http://www.devart.com/company/contact.html .
Also, in our production code we have another error, like the one signaled in this thread, on the same class.
We have updated to version 5.40.42 (wouldn't be possible that you create patches or updates, so we don't need to uninstall and reinstall everything to every new version?:))
It seems to us that the problem arises when we define a partial class to extend an object mapped with devart linq.
Hope you'll find quickly a solution, because we now must do insert and updates by hand.
Regards
Alfonso Moscato
- Wed 26 Aug 2009 11:17
- Forum: dotConnect for MySQL
- Topic: PropertyChanging NullReferenceException DateTime Field
- Replies: 16
- Views: 5565