Brief introduction to Object Relational Mapper

Integrating with the database deals with lots of groundwork to perform simple CRUD (create, read, update, and delete operations. Some of the ground work is connecting to the database, releasing the connection, pooling, querying the database, dealing with single or multiple records, connection resiliency, bulk update, and so on.

Writing up the code for this ground work is a huge task, often ending with lots of handwritten code, duplication of code, erroneous results, and maintenance issues.

Object Relational Mapper (ORM) offers a better way to integrate with the database in the form of class-object mapping to a relational database table.

ORM provides the necessary ground work as mentioned above ...

Get Mastering ASP.NET Web API now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.