digging around subsonic, i came across this
good article but have some ?'s
now i want the option to return either a IList or Dataset, would I create an abstarct factory for this, if so can I have one generic method which would take in either IList or Dataset as a ref parameter and populate the passed in object?
is it a good practice to declare static classes in the business layer which talks to my data layer so that in my UI where i have a gridviewcontrol i can do this
mybusinesslayer.getdata(ref myDataset) //as mybusinesslayer is static
mygridviewcontrol.datasource = mydataset....