Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Should I make a new DAL/BLL class for each table that I want to access in the DB? Or should I just make a generic DAL/BLL class that can handle everything?

When I make new ones for each table, the code gets a bit repetitive, but it seems better than making generic classes.
Posted

1 solution

I would recommend grouping items from a functional perspective. For eg. all authentication related items together, all database loading related items together and so on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900