My doubt, perhaps not a bit technical, but rather of better concept, usability, or advantages.
I have a good experience in ASP.NET development using webforms, and I am looking to expand my knowledge by studying asp.net mvc, and asp.net web api.
Following a course, I learned how to connect to the database, sql server, and I was able to adapt to mysql (which I usually use more) using ADO.NET Entity Data Model . Which creates the class of dbContext
, searches in my database all the tables I want and already creates the classes with the properties
.
My question is if I can also connect to my database without using the ADO.NET Entity Data Model , manually creating the connection string, creating my dbContext, and classes manually?
If yes, I would like to learn a little better about the advantages of using ADO.NET Entity Data Model , whether to use it or not.