This question is regarding convention.
My datalayer has 20 classes in it. Each class has a handful of methods
that return datasets.
I am looking to make some of these typed datasets (as opposed to
untyped datasets).
Since the tables returned by various methods within a class are not
directly related, should different dataset objects be created to handle
each one (100+ ds classes)? Alternatively, can I create a single
dataset object for each datalayer class (exactly 20 ds classes)?
Unless there is a good reason not to, I think creating a mere 20 ds
classes seems much better.
Remember that rarely will I actually create a DataRelation--the
datalayer classes are used to group similar procedures together.
Let me know if this is unclear.
Thanks,
Michael
My datalayer has 20 classes in it. Each class has a handful of methods
that return datasets.
I am looking to make some of these typed datasets (as opposed to
untyped datasets).
Since the tables returned by various methods within a class are not
directly related, should different dataset objects be created to handle
each one (100+ ds classes)? Alternatively, can I create a single
dataset object for each datalayer class (exactly 20 ds classes)?
Unless there is a good reason not to, I think creating a mere 20 ds
classes seems much better.
Remember that rarely will I actually create a DataRelation--the
datalayer classes are used to group similar procedures together.
Let me know if this is unclear.
Thanks,
Michael