MongoServices 0.2.0
A Service/Repository Framework for mongoDB
|
The interface for a "Read Only" service. More...
Public Member Functions | |
IEnumerable< T > | GetAll () |
Gets a collection of the MongoServicesModels from the IReadOnlyRepository<T>. | |
T | GetById (ObjectId id) |
Gets one MongoServicesModel from the IReadOnlyRepository<T>. |
The interface for a "Read Only" service.
T | The MongoServices model to be used by this service. |
T | : | MongoServicesModel |
Definition at line 13 of file IReadOnlyService.cs.
IEnumerable<T> MongoServices.IReadOnlyService< T >.GetAll | ( | ) |
Gets a collection of the MongoServicesModels from the IReadOnlyRepository<T>.
Implemented in MongoServices.ReadOnlyService< T >.
T MongoServices.IReadOnlyService< T >.GetById | ( | ObjectId | id | ) |
Gets one MongoServicesModel from the IReadOnlyRepository<T>.
id | The "Id" of the MongoServicesModel to be retrieved. |
Implemented in MongoServices.ReadOnlyService< T >.