IRepositoryManager(T) Interface

MongoRepository

IRepositoryManagerT Interface
IRepositoryManager definition.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public interface IRepositoryManager<T> : IRepositoryManager<T, string>
where T : Object, IEntity<string>
Public Interface IRepositoryManager(Of T As {Object, IEntity(Of String)})
	Inherits IRepositoryManager(Of T, String)
generic<typename T>
where T : Object, IEntity<String^>
public interface class IRepositoryManager : IRepositoryManager<T, String^>
type IRepositoryManager<'T when 'T : Object and IEntity<string>> =  
    interface
        interface IRepositoryManager<'T, string>
    end

Type Parameters

T
The type contained in the repository to manage.

The IRepositoryManagerT type exposes the following members.

Properties
  NameDescription
Public propertyExists
Gets a value indicating whether the collection already exists.
(Inherited from IRepositoryManagerT, TKey.)
Public propertyName
Gets the name of the collection as Mongo uses.
(Inherited from IRepositoryManagerT, TKey.)
Top
Methods
  NameDescription
Public methodDrop
Drops the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodDropAllIndexes
Drops all indexes on this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodDropIndex
Drops specified index on the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodDropIndexes
Drops specified indexes on the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodEnsureIndex(String)
Ensures that the desired index exist and creates it if it doesn't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodEnsureIndex(String, Boolean, Boolean, Boolean)
Ensures that the desired index exist and creates it if it doesn't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodEnsureIndexes(IEnumerableString)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodEnsureIndexes(IMongoIndexKeys, IMongoIndexOptions)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodEnsureIndexes(IEnumerableString, Boolean, Boolean, Boolean)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodGetIndexes
Gets the indexes for this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodGetStats
Gets stats for this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodGetTotalDataSize
Gets the total size for the repository (data + indexes).
(Inherited from IRepositoryManagerT, TKey.)
Public methodGetTotalStorageSize
Gets the total storage size for the repository (data + indexes).
(Inherited from IRepositoryManagerT, TKey.)
Public methodIndexesExists
Tests whether indexes exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodIndexExists
Tests whether indexes exist.
(Inherited from IRepositoryManagerT, TKey.)
Public methodIsCapped
Tests whether the repository is capped.
(Inherited from IRepositoryManagerT, TKey.)
Public methodReIndex
Runs the ReIndex command on this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public methodValidate
Validates the integrity of the repository.
(Inherited from IRepositoryManagerT, TKey.)
Top
Remarks
Entities are assumed to use strings for Id's.
See Also