DEV Community

Discussion on: Avoiding the Repository Pattern with an ORM

Collapse
 
azeem2793 profile image
Agha Azeem

Great Article.
just a little confusion. If we do not use repository pattern then our DB queries will still reside in DALclasses(StudentDAL.cs which has createstudent(), update student(std),getstudent()....) right? so is not it good to use repository pattern instead of DAL classes to encapsulate our quries or SP calls.
just asking :)