M
Maximiliano
Hello, I have an asp.net project that calculates a general tax. Ok,
this tax is a big object formed with another child objects (as a
mather of fact 15 another child object within it), like Ship, Vehicle,
Bike, etc. each one could be null and has his own attributes and
properties.
For example
Tax
{
int _period;
Ship _ship;
Vehicle _vehicle;
...
and so on with my other 13 objects ...
}
Ok, in my first page I populate Tax object and serialize it to DB,
when i post to the second page i deserialize this object. (i cannot
use session variables)
My doubt, is it ok to make a big parent object to hold the another
child objects?. If not what could it be the right solution?.
Thanks to everyone. I would really appreciate any comment. Bye.
this tax is a big object formed with another child objects (as a
mather of fact 15 another child object within it), like Ship, Vehicle,
Bike, etc. each one could be null and has his own attributes and
properties.
For example
Tax
{
int _period;
Ship _ship;
Vehicle _vehicle;
...
and so on with my other 13 objects ...
}
Ok, in my first page I populate Tax object and serialize it to DB,
when i post to the second page i deserialize this object. (i cannot
use session variables)
My doubt, is it ok to make a big parent object to hold the another
child objects?. If not what could it be the right solution?.
Thanks to everyone. I would really appreciate any comment. Bye.