ORM - Object Relational Mapper

Robert Crowe asked on February 28, 2015 06:35

Is there an ORM for Kentico, similar to Glass Mapper for Sitecore? I haven't seen one.

Recent Answers


Brenden Kehren answered on February 28, 2015 17:16

There are some connectors but as far as I know there is not one for GlassMapper. That's not to say you couldn't create one.

0 votesVote for this answer Mark as a Correct answer

Brian McKeiver answered on February 28, 2015 21:08

Also remember that the Kentico API basically already includes a ton of ORM like functionality. Don't overlook it.

1 votesVote for this answer Mark as a Correct answer

Joel Dahlin answered on March 1, 2015 02:38 (last edited on March 1, 2015 02:39)

James Munro answered on November 25, 2015 11:42

I know this is an old post but I've also created a mapper for Kentico that works in a similar way to GlassMapper by simply marking items with appropriate attributes and calling to the mapper to map your item from a Kentico TreeNode or CustomTable (there are currently two mappers, one for each of these types). It can be found on github (https://github.com/truedigital/True.KenticoMapper). Links to it are also hosted on the Kentico Marketplace (https://devnet.kentico.com/marketplace/utilities/kentico-mapper).

The benefit of using this functionality over the in-built Kentico code generation functionality is that this mapper completely disconnects your models from the Kentico API (i.e. no requirements to inherit from specific Kentico types) to facilitate unit testing and reduce coupling.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.