Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
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

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.
 
Share this answer
 

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