What is the best practice to return data objects from Data Access Layers to Interface?
Currently, I have a layer that communicates with database and returns DataTable to business Layer and then Business Layer instatiates the Business Objects and returns to the interface. Isn't that pathetic or poor practise?
My questions are:
-What is the best way to return Data Objects from DAL?
-If the DAL shouldn't return Data Objects, then how do I get the data to interface for DataBinding?
This is not a problem but a best practice issue.
Thanks everyone in advance