MongoServices 0.2.0
A Service/Repository Framework for mongoDB
|
This attribute is to be applied the models with your application and defines the name of the mongoDB collection to be used. More...
Public Member Functions | |
MongoCollectionNameAttribute (string collectionName) | |
Constructs a new MongoCollectionNameAttribute based on the collectionName parameter. | |
Properties | |
string | CollectionName [get, set] |
Gets the name of the mongoDB collection for the MongoServicesModel. |
This attribute is to be applied the models with your application and defines the name of the mongoDB collection to be used.
If the repository cannot find this attribute a MongoCollectionNameMissingException will be thrown.
Definition at line 13 of file MongoCollectionNameAttribute.cs.
MongoServices.MongoCollectionNameAttribute.MongoCollectionNameAttribute | ( | string | collectionName | ) |
Constructs a new MongoCollectionNameAttribute based on the collectionName
parameter.
collectionName | The name of the mongoDB collection. |
Definition at line 27 of file MongoCollectionNameAttribute.cs.
string MongoServices.MongoCollectionNameAttribute.CollectionName [get, set] |
Gets the name of the mongoDB collection for the MongoServicesModel.
Definition at line 19 of file MongoCollectionNameAttribute.cs.