Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-543

Move common types into base namespaces

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • 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:

      1. MongoDB.Bson.dll
      2. 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.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: