If Base class is marked Serializable are all child classes marked too?

Viewed 10171

I have a whole list of entity classes which I need to make Serializable (due to storing session state in SQL, but that's another story).

I have added the attribute [Serializable] and all seems to be fine.

All of my entity classes extend from the same base class. If I mark the base class as Serializable, does this mean all children are marked as Serializable too?

Thanks

2 Answers
Related