Any alternative to Serializable attribute

  • Thread starter Thread starter jeeji
  • Start date Start date
J

jeeji

Hi

We recently want to make our web application store session state
values in an SQL server, rather than have them in memory.
For this to happen, I noticed that all the objects we want to store
are not marked with the Serializable attribute.
Our application is really large, and we have a lot of classes to mark
which we would like being stored. Is there anyway of doing this some
easier way?
Any compile option, or way to force all member variable of a class to
be serializable if the containing class is?

Thank you in advance
Jeeji
 
Hi,

all other options (like implementing ISerializable) require even more work.
And there is no compiler switch to do this.

Kind regards,
Henning Krause
 
Back
Top