Computer Magic Logo

Sunday, August 23, 2015

Published by Aristotelis Pitaridis

PetaPoco is a lightweight ORM (Object-relational mapping) for the .NET framework which is already included with the Umbraco CMS.

PetaPoco is a single C# file which has no dependences. The latest version consists of multiple files in order to be easier for a developer to understand the structure of the project but the singe C# file version still exists in the current version. The library is also available through a NuGet package.

The PetaPoco library provide us with helper methods for insert, update, save and delete which makes it very easy to handle data. The good thing with PetaPoco is that it provides the best of an ORM library with a very high speed for doing all these functionalities.