Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a learner of MVC (4). I have gone through some tutorials on MVC 4. Those are simply awesome. But all of those have used EF with LINQ to SQL for database operation. If i want to use T-SQL for database operation, how can i do it? Should i write sql query in Model or in another library? Where will i place my data access layer?

I googled with this question. But no satisfactory technique found.
Posted

1 solution

Pleas check the link :
http://forums.asp.net/t/1801097.aspx/1[^]
In that Check the accepted answer.
 
Share this answer
 
v2

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