Click here to Skip to main content
15,121,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Im beginner with MVC. I dont want to use entity framework to communicate with DB. Help me with example.
Posted
Updated 5-May-15 9:14am
v2
Comments
F-ES Sitecore 5-May-15 16:16pm
   
Google has lots of examples, googly "entity framework getting started"

I would advise you to learn the basics of ADO.NET. This very clear article will help you to get started in no time: Using ADO.NET for beginners[^].

—SA
   
Comments
Liju Sankar 5-May-15 15:32pm
   
I do agree! There a a lot of online videos available for a jumpstart
OK, there's nothing that say you have to use EF.

You can just write your own data layer code yourself using standard .NET Framework methods. There are tons and tons of examples of this all over the web. You just need to Google for "C# SQL database".
   
I like using LinqToSQL, it sets up a lot for you...that makes it easier than doing it from scratch but it isn't as flaky as EF. I used EF on an MVC project recently and I could't get rid of it fast enough!
   
HI Watch videos on YouTube from Kulvenkat
   

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