Click here to Skip to main content
12,457,493 members (58,583 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: SQL MVC4
I am a newbie to MVC, have worked on ASP.NET2.0.

I have googled MVC and found that Entity Framework takes care of the database connection and LINQtoSQL is also an another way.

Which one i have to use for a already created database for better performance:
1) Entity Framework
2) LINQtoSQL
3) or Use the stored procedures, tables and views directly
(ie. without EF and LINQtoSQL)

Please suggest me.
Posted 29-Nov-12 0:55am
kheer520

1 solution

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

Solution 1

Using Entity Framework is some what easy to communicate with Databese tables.And we can write Store Procedures and use them using Entity Framework..

You can use LINQ when you are familiar with the linq Quiery writing..

Once Refer this link,So u may get an idea..

http://msdn.microsoft.com/en-us/data/gg685489[^]
  Permalink  

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
Web02 | 2.8.160826.1 | Last Updated 28 Feb 2013
Copyright © CodeProject, 1999-2016
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