Click here to Skip to main content
12,951,710 members (67,120 online)
Rate this:
 
Please Sign up or sign in to vote.
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 28-Jan-13 22:26pm

1 solution

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

Solution 1

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

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
OriginalGriff 6,229
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880


Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2017
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