MongoServices 0.2.0
A Service/Repository Framework for mongoDB
|
The base MongoServices repository. More...
Static Public Member Functions | |
static void | SetMongoUrlProvider (Func< MongoUrl > provider) |
Sets the MongoUrl provider for the repository. | |
Properties | |
virtual string | CollectionName [get] |
Gets the name of the mongoDB collection to use. | |
MongoCollection< T > | Collection [get] |
Gets the collection for the MongoServices model. |
The base MongoServices repository.
T | The MongoServices model to be used by this repository. |
T | : | MongoServicesModel |
Definition at line 14 of file MongoServicesRepository.cs.
static void MongoServices.MongoServicesRepository< T >.SetMongoUrlProvider | ( | Func< MongoUrl > | provider | ) | [static] |
Sets the MongoUrl provider for the repository.
provider | A Func<MongoUrl> |
Definition at line 93 of file MongoServicesRepository.cs.
MongoCollection<T> MongoServices.MongoServicesRepository< T >.Collection [get, protected] |
Gets the collection for the MongoServices model.
Definition at line 42 of file MongoServicesRepository.cs.
virtual string MongoServices.MongoServicesRepository< T >.CollectionName [get, protected] |
Gets the name of the mongoDB collection to use.
Definition at line 26 of file MongoServicesRepository.cs.