mardi 12 mai 2015

How to use Repository and Unit of Work Patterns with ADO.NET?

I am building ASP.NET MVC 5 application.

I read about Repository and Unit of Work (UoW) Patterns here.

These examples use Entity Framework which adds a high-level of abstraction itself.

I am using ADO.NET and not EF. I want to know:

  1. Whether Repository and UoW patterns makes any sense with ADO.NET?
  2. How will my Repositories and UoW look with ADO.NET? Any Samples?
  3. Can I add a separate class library for Repository or to make it a part of DAL?

Aucun commentaire:

Enregistrer un commentaire