Click here to Skip to main content
14,240,716 members
Rate this:
Please Sign up or sign in to vote.
Hi Pals.. How to connect MVC to database without using Entity Framework and ADO.NET?
Any Link or suggestion or information would be highly appreciated.
Posted
Updated 15-Mar-17 12:55pm
Comments
Nelek 4-Aug-15 17:14pm
   
www.google.com

1 solution

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

Solution 1

Without using EF and also without ado.net? You could use ODBC libraries but you're seriously better sticking to ado.net. ado.net is the most basic .net framework for connecting to databases so you should use it, there is nothing wrong with it.

If you mean without EF and just ado.net, then just use ado.net rather than using EF. A lot of examples and samples on-line might use EF because the code is quicker to write and keeps the sample simple, but you can use ado.net if you want to instead, just do it.
   

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




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