Click here to Skip to main content
11,806,575 members (39,216 online)
Rate this: bad
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 22: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
0 ppolymorphe 265
1 OriginalGriff 190
2 Richard Deeming 175
3 George Jonsson 125
4 Philippe Mori 80
0 OriginalGriff 3,380
1 Maciej Los 1,990
2 CPallini 1,915
3 KrunalRohit 1,907
4 ppolymorphe 1,317

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | 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