Getting Started

1st

The DataSource class is the base connection to the mongo database, you will likely want to use this as a singleton on its own or part of an IoC container depending on your usage. All of the other types in MongoScienceDAL use this as a basis for accessing the database.

If you are considering extending the implementation to include such things as user information, authentication etc, you can access a MongoDatabase object and therefore a MongoServer object which will allow you to avoid unnecessary connections to the database.

Last edited Mar 6, 2013 at 10:04 PM by daskurka, version 2

Comments

No comments yet.