Steve Andrews

Steve Andrews

  • NA
  • 36
  • 1.3k

Entity Framework vs ADO.NET for database access

Aug 23 2021 8:36 AM

Morning community,

Hope that everyone is well.  I hope a few of you can help me out here.  I'm learning how to code in C#, with my next few weeks focusing on how database information can be accesed and manipulated via C#.  This is a topic that I have yet to cover and thus have no experience of. I'm aware that there are two distinct methods open to a developer, namely: -

  1. Entity Framework
  2. ADO.NET

Whilst I'm learning about both methods, I'd be interested in the views from experience developers out there on the benefits and drawbacks of each approach.  Namely: -

  1. What are the pros and cons of each appeoach for the new developer
  2. When might I use one over the other?
  3. Any resources you think would be helpful for me to learn both approaches

Any comments and opinions greatly appreciated.

Thanks
Steve


Answers (5)