Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Developing API to read the data from MongoDB (only read operation) in C#. Database would be midsize. Can I go for Entity framework with Linq or pefer MongoDB .net driver.

Or any other approach will accomplish this activity?

Please suggest!!!

What I have tried:

Developed a sample application with MongoDB.net driver. But when I going for joins with multiple documents queries are more complex
Posted
Updated 28-May-18 5:53am

1 solution

Whether or not you use Entity Framework is a matter of preference. There is nothing that says you have to use it.

The difference being the amount of control you want and the amount of code you want to write. If you want to limit the amount of code, use Entity Framework. If you want greater control, skip the framework and write your own code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900