-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
Affects Version/s: 1.8
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
from the documentation:
References and namespaces
To use the C# Driver you must add references to the following DLLs:
- MongoDB.Bson.dll
- MongoDB.Driver.dll
As a minimum add the following using statements to your source files:
using MongoDB.Bson; using MongoDB.Driver;
Additionally you will frequently add some of the following using statements:
using MongoDB.Driver.Builders; using MongoDB.Driver.GridFS; using MongoDB.Driver.Linq;
In some cases you might add some of the following using statements if you are using some of the optional parts of the C# Driver:
using MongoDB.Bson.IO; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Conventions; using MongoDB.Bson.Serialization.IdGenerators; using MongoDB.Bson.Serialization.Options; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver.Wrappers;
There are more namespaces than strictly necessary. We can compress some of these and reorganize.