| CARVIEW |
Every repository with this icon (
Every repository with this icon (
| Description: | A driver written in c# to connect to the MongoDB document oriented database. edit |
| Homepage: | edit |
| Public Clone URL: |
git://github.com/samus/mongodb-csharp.git
Give this clone URL to anyone.
git clone git://github.com/samus/mongodb-csharp.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:samus/mongodb-csharp.git
|
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Sep 14 23:12:16 -0700 2009 | Moved AddUser to the DatabaseMetaData class Add... [samus] |
| |
LICENSE | Sun Aug 02 17:42:50 -0700 2009 | Initial release on GitHub [samus] |
| |
MongoDB.Net-Tests/ | Tue Sep 29 20:40:54 -0700 2009 | Implemented client side Oid generation with aut... [samus] |
| |
MongoDBDriver.sln | Thu Sep 24 16:26:33 -0700 2009 | Tests and fixes for the UK Pound and any other ... [unknown] |
| |
MongoDBDriver/ | Tue Sep 29 20:40:54 -0700 2009 | Implemented client side Oid generation with aut... [samus] |
| |
MongoDBDriverTranslation/ | Tue Sep 15 21:29:30 -0700 2009 | Cleaned up some code warnings. Preliminary supp... [samus] |
| |
Packages.mdproj | Tue Sep 15 21:29:30 -0700 2009 | Cleaned up some code warnings. Preliminary supp... [samus] |
| |
README.rst | Mon Sep 14 23:12:16 -0700 2009 | Moved AddUser to the DatabaseMetaData class Add... [samus] |
MongoDB-CSharp
This is a community supported release of a driver to connect to MongoDB using .Net. It is written entirely in C# and has been tested and developed under both Windows and Mono 2.0 (Ubuntu 32-bit 9.04). Currently many features have been implemented with a few remaining. The api is very likely to change and be in flux for a while but is quickly settling down. At this point it is becoming a solid base to add many more advanced features.
Current Features
- Connect to a server.
- Query
- Insert
- Update
- Delete
- Most BSON types supported
- DBRef support
- Isolation and conversion between BSON types and native .net types.
- Database, Collection and Cursor objects.
- Index handling routines (List, Create, Drop)
- Count
- Roughly 80% unit test coverage. This can and will be improved on.
- Paired connections
- Authentication (Does not reauthorize on auto reconnect yet).
Missing Features
- Auto reconnect options
- Connection pooling (maybe not implemented)
- A few BSON Types (easy to add)
- Database commands (can send queries to $cmd if necessary)
- Exceptions (In progress)
- hint, explain, $where
- database profiling: set/get profiling level, get profiling info
- GridFS support
- Many unit tests
Installation
Currently using the driver in the GAC is not supported. Simply copy the driver assembly somewhere and reference it in your project. It should be deployed in your application's bin directory. It is not necessary to use the test assembly.
Patches
Patches are welcome and will likely be accepted. By submitting a patch you assign the copyright to me, Sam Corder. This is necessary to simplify the number of copyright holders should it become necessary that the copyright need to be reassigned or the code relicensed. The code will always be available under an OSI approved license.
Usage
One of the best sources for how to use the driver is the unit tests. Basic usage can be found in the TestCollection set of test cases.
Contributors
- Sam Corder (samus)
- Seth Edwards (Sedward)
- Sergey Bartunov (sbos)









