How to use mongodb with linq to store blobs (files)?
I know the two most popular C # drivers for mongodb are mongodb-csharp and NoRM . Both of them have some problems. For example, with mongodb-csharp, I cannot use the full functional linq, and with NoRM, I cannot store a large file in mongodb. In my project, I need to use linq with large objects (files).
a source to share
You can check the official 10gen MongoDB C # driver . It doesn't support LINQ yet, but they've added a really nice query engine for GridFS.
a source to share
EDIT: I haven't read the title of the question, sorry. I don't think you want to use Linq to communicate with GridFS. If so, we welcome some contributions.
The linq driver for mongodb-csharp is almost complete. It supports predictions, conditions, ordering, skipping, accepting and (almost done), it will build downsize queries when you use aggregate and / or group operators.
If you take the latest typedcollections branch, I think you will find that it does everything you want it to.
a source to share