Hi
I am working on a new ASP.NET project. The data access method that has been proposed is a method used quite commonly in VB projects, ie to have a class for each data entity containing a set of properties, and a class which corresponds to the collection of entities. This class handles the access to the database (via a DataReader), maintaining the collection of entities etc. DataSets have not been used anywhere in this model.
Personally I would prefer to use DataSets and the recognised .NET way of managing the data. However, the main reason I have for this is because I want to get the experience for myself. Can anybody give me a better technical reason (perhaps even an overview of the best way of doing this!)? Or is the proposed way of doing it ok?
Thanks for any replies.
I am working on a new ASP.NET project. The data access method that has been proposed is a method used quite commonly in VB projects, ie to have a class for each data entity containing a set of properties, and a class which corresponds to the collection of entities. This class handles the access to the database (via a DataReader), maintaining the collection of entities etc. DataSets have not been used anywhere in this model.
Personally I would prefer to use DataSets and the recognised .NET way of managing the data. However, the main reason I have for this is because I want to get the experience for myself. Can anybody give me a better technical reason (perhaps even an overview of the best way of doing this!)? Or is the proposed way of doing it ok?
Thanks for any replies.