Mongodb orm / odm in .net?

So, I decided to start using mongodb instead of sql server in my new application. One of the nice things I was going for for me when using the sql server was having an ORM level such as an entity structure or DevExpress XPO. I heard about NoRM for mongo, but I looked at the GitHUB website, it says that it is no longer supported. So I was wondering if anyone knew of a currently supported solution like ORM / ODM, which I could use with a C # .NET application to encapsulate the interactions of my models with the persistence level.

+4
source share
1 answer

It would be a mistake to think of Mongo in the same way as SQL. Think of Mongo as a way to save your C # models. Construct => Save-> To get all the data necessary for display, you must enter the model. Then use collection.FindAs<ModelType>(SomeQuery)to get them from db.

+3
source

Source: https://habr.com/ru/post/1537015/


All Articles