You can certainly serialize and deserialize as XML classes which inherit
CollectionBase. There are a few rules:
1. The class must implement a parameterless Contructor. You can overload it
if necessary.
2. There must be an Add Method defined.
See the following for more details:
http://msdn.microsoft.com/library/de...ialization.asp
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
"Islamegy®" <Is******@Private.4me> wrote in message
news:OP**************@TK2MSFTNGP14.phx.gbl...
May be I miss some concept in serialization topic while i didn't use it
before so any help to make things clear to me will be great.
"Islamegy®" <Is******@Private.4me> wrote in message
news:eM**************@TK2MSFTNGP15.phx.gbl...I have started to implement Strongly typed CustomCollection for my
Entities instead of using Dataset & Datatable..
All my Collection Classes inherit from CollectionBase.. I tried to
serialize my class to save state by implementing ISerializable interface
but I wasn't able to deserialize it again (so my class wont manage it's
state) because InnerList & List is read only so How could i work around
this??
Am i better use microsoft cache Block to cache my collection or i better
use serialize my collection and how??
thanx