Sunday, July 7, 2019

What is the difference between an ORM and an ODM?

MySQL is an example of a relational database - you would use an ORM to translate between your objects in code and the relational representation of the data.
Examples of ORMs are nHibernateEntity FrameworkDapper and more...
MongoDB is an example of a document database - you would use an ODM to translate between your objects in code and the document representation of the data (if needed).
Mandango , Mongooses are examples of an ODM for MongoDB.

No comments:

Post a Comment