2
Answers

db.collection.find() execute query through c# in mongodb?

Hi,
 
How to execute mongodb shell commands  through c#.net,
i used eval but it supports for only db.collection.findOne(), count() commands.
 
Thanks... 
Answers (2)
0
yesodhara Bommidi

yesodhara Bommidi

NA 49 3.6k 9y
Thank you for your response, i am trying excute mongodb shell commands in runtime, in that links(you provided) have model class, but with out model i want to execute the shell commands.
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Please go through below links and implement read operation:
 
http://www.c-sharpcorner.com/UploadFile/736ca4/crud-operation-using-mongodb/
 
http://www.codeproject.com/Tips/864952/CRUD-Operation-in-MVC-with-MongoDB