Now that I have invested some time learning how to use DataSets, I'v been thiking that if I created a class for each table, I would have dozens of classes.
So what not create a generic class that gives back a typed dataset based on a value passed in. For example, if I want to
create a customer dataset, then pass 'customer', for invoice headers, pass 'invhead' and so on.
The code would then be smart enough to create the appropriate dataset class to return. I have no idea what would be
involved in creating this, but the concept seems beter than one class for each table.
I'm open to suggestion. If anyone has done this, I would be interested in how to proceed.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people