Posts

Showing posts with the label azure-cosmosdb

Entity Framework like ORM for Cosmos DB

Entity Framework like ORM for Cosmos DB I am looking for any ORM for Cosmos DB. Most of the client which have been mentioned in samples create a new connection to table when they need i.e. there is no connection pooling policy. It seems creating new connection always as is given in samples is non scalable. Please correct me if I am wrong. And does anyone have any good ORM solution which comes with connection pooling 2 Answers 2 Cosmonaut is exactly what you're looking for. It is a simple and minimalistic object mapper, which creates a collection-to-object relationship. You can use your POCO objects and do all the CRUD operations. It supports collection sharing in order to reduce the cost of having multiple objects in one collection as well. Read more about Cosmonaut here. Disclaimer, I am the creator of Cosmonaut. Great to know that you're the creator of Cosmonaut...