Ado.net and entity framework which one is better for a mid size level application..??
Loading
Ado.net and entity framework which one is better for a mid size level application..??
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Aug 12, 2022, 9:23 AM
Sam HobbsPosted Aug 12, 2022, 4:45 AM
Vishal Yelve is correct that Entity Framework can use ADO.Net. Entity Framework can also work with other objects (databases and other things). Entity Framework does more than what ADO.Net does. Entity Framework can make things easier but it takes more time to learn. Time invested in learning Entity Framework is well spent.
The real benefits of EF are that it can automatically create classes for database items. In EF, database items are called entities. EF can do most all the common work of working with databases; you just need to write the code specific to your requirements.
Vishal YelvePosted Aug 11, 2022, 10:09 AM
Entity Framework consists of wrapper classes for ADO dot NET and so you can do the database coding much more faster with it.
While using EF you gain the following things:
Entity Framework example to read the records:
ADO dot NET example to read the records:
Rajanikant HawaldarPosted Aug 11, 2022, 9:03 AM
Sachin SinghPosted Aug 11, 2022, 8:36 AM