Girish Dubey Posted September 21, 2015 Share Posted September 21, 2015 i am going to create a new website , and i am confused about using ADO.net or Entity Framework , I want to know which is better data access technology ado.net or entity framework? can anyone help me about which is better to use and the advantages of each one. 1 Link to comment Share on other sites More sharing options...
justsomeguy Posted September 21, 2015 Share Posted September 21, 2015 Sounds like they aren't all that separate:https://msdn.microsoft.com/en-us/library/aa697427(v=vs.80).aspxUsing a framwork will probably make your code more portable and maintainable. If you need to change databases, for example, a framework should mean you don't have to rewrite queries. Link to comment Share on other sites More sharing options...
self_learning Posted December 12, 2015 Share Posted December 12, 2015 Dear, if you have database ready and just want to develop website and connect your site with database, you must use Entity frame work (Database first approach). With this you do not originally interact with SQL Queries. You have Data Context class and deals all tables as object. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now