I have been using WebForms until now and now wish to learn MVC. However all the online sources that I can reach prefer employing Entity Framework for database examples. I do not will to discuss whether EF (or ORM in general) is good or bad, but I want to learn MVC not any ORM. So can you suggest a source (online or book) that focuses on MVC and uses some more classic data access methods (e.g. DataReaders) or simpler abstraction layers (some collections encapsulating data)?

有帮助吗?

解决方案

Entity Framework is not necessary for use with MVC - it is just one method. You can pick up any of the major MVC books (I recommend those written by John Galloway, et al or Dino Esposito) and just pass by the section specifically talking about EF (if the book indeed does have such a section).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top