Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data Access Application Block for .NET 4.5 using MVC 4

I'm trying to develop an application using MVC 4. Earlier I was using Generic repository for accessing my database . But later I was suggested to use Data Access Application Block to access Data Base in my application .

I'm not getting any exact clue that how to start with it. Can any one suggest some link which can provide me the exact information about Data Access Application blocks for .NET 4.5 and MVC 4 and also some examples of its correct usage.

Thanks in Advance..

like image 858
Mahima Gandhe Avatar asked Oct 01 '22 06:10

Mahima Gandhe


1 Answers

I think Data Access Application Block is quite obsolete.

Why don't you use an ORM (such as Entity Framework or NHibernate) to build your data access layer? As you can see here Entity Framework is Microsoft’s recommended data access technology for new applications

like image 86
jitidea Avatar answered Oct 04 '22 17:10

jitidea