MongoRepository Namespace

MongoRepository

MongoRepository Namespace

Provides classes to use MongoDb with a repository pattern.

Classes
  Class Description
Public class CollectionName
Attribute used to annotate Enities with to override mongo collection name. By default, when this attribute is not specified, the classname will be used.
Public class Entity
Abstract Entity for all the BusinessEntities.
Public class MongoRepositoryT
Deals with entities in MongoDb.
Public class MongoRepositoryT, TKey
Deals with entities in MongoDb.
Public class MongoRepositoryManagerT
Deals with the collections of entities in MongoDb. This class tries to hide as much MongoDb-specific details as possible but it's not 100% *yet*. It is a very thin wrapper around most methods on MongoDb's MongoCollection objects.
Public class MongoRepositoryManagerT, TKey
Deals with the collections of entities in MongoDb. This class tries to hide as much MongoDb-specific details as possible but it's not 100% *yet*. It is a very thin wrapper around most methods on MongoDb's MongoCollection objects.
Interfaces
  Interface Description
Public interface IEntity
"Default" Entity interface.
Public interface IEntityTKey
Generic Entity interface.
Public interface IRepositoryT
IRepository definition.
Public interface IRepositoryT, TKey
IRepository definition.
Public interface IRepositoryManagerT
IRepositoryManager definition.
Public interface IRepositoryManagerT, TKey
IRepositoryManager definition.