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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.