Click here to Skip to main content
11,923,958 members (68,135 online)
Rate this:
Please Sign up or sign in to vote.
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 28-Jan-13 23:26pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Pleas check the link :[^]
In that Check the accepted answer.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151125.3 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100