Hi this is a question to all experienced developers who create their web applications using ASP.NET(C#) with MySQL. I am currently using the Microsoft Enterprise Library to implement a database factory design pattern.
I have a DAL which returns a DataTable. I have a BLL that executes that DAL which returns a List<> of my DataObjects. The BLL has parameters for sorting, limit records, and filters.
What do you think is by far a good design pattern that will work for transactional queries and queries containing a number of joins (4 to 10 tables) and conditions.
I am not satisfied with the current implementation and I don't know if it'll work for me in the long run. I keep on creating DataObjects -> BLL -> DAL classes every time.