This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon An ASP.NET MVC model contains all of the business, validation, and data access logic required by your application. In other words, a model contains all of your application logic except the view logic and controller logic. The bulk of your time and effort when building an ASP.NET MVC application is devoted to building your model classes. The focus of this chapter is on creating model classes for data access. In particular, you learn how to build model classes by using...(read more) ...
Go to the complete details ...