[CSHARP-543] Move common types into base namespaces Created: 03/Aug/12  Updated: 05/Nov/14  Resolved: 05/Nov/14

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8
Fix Version/s: 2.0

Type: Improvement Priority: Major - P3
Reporter: Craig Wilson Assignee: Craig Wilson
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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.



 Comments   
Comment by Robert Stam [ 24/Feb/13 ]

This work was prototyped on the experimental x2.0 branch. This ticket is being reopened for eventual porting to the official 2.0 branch.

Comment by auto [ 31/Aug/12 ]

Author:

{u'date': u'2012-08-30T19:23:44-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-543: Reorganize classes into fewer namespaces. Postponing moving files to new folders until namespaces are solidified.
Branch: x2.0
https://github.com/mongodb/mongo-csharp-driver/commit/fc355dc84c337deded2c1e3294442dc43ed303c4

Generated at Wed Feb 07 21:37:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.