K
kkarre
Hi all,
We decided to clear the test db more frequently and I was asked to serialize
som
test objects to make sure our unit testing continues to work after clearing
the db.
Does anyone have any advice on how to implement this?
I've decided on BinaryFormatter because I want to save private fields and
ReadOnly-
properties as well as Public Read/Write Properties.
The objects are modeled as a hierarchi, maincompany, subcompany etc.
Should I put them all in a collection and serialize it?
If I serialize only the MainCompany, the other(lower) objects doesn't seem
to be saved.
Grateful for any tip!
Best Regards,
kk
We decided to clear the test db more frequently and I was asked to serialize
som
test objects to make sure our unit testing continues to work after clearing
the db.
Does anyone have any advice on how to implement this?
I've decided on BinaryFormatter because I want to save private fields and
ReadOnly-
properties as well as Public Read/Write Properties.
The objects are modeled as a hierarchi, maincompany, subcompany etc.
Should I put them all in a collection and serialize it?
If I serialize only the MainCompany, the other(lower) objects doesn't seem
to be saved.
Grateful for any tip!
Best Regards,
kk