MongoRepositoryManager(T, TKey).Exists Property

MongoRepository

MongoRepositoryManagerT, TKeyExists Property
Gets a value indicating whether the collection already exists.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public virtual bool Exists { get; }
Public Overridable ReadOnly Property Exists As Boolean
	Get
public:
virtual property bool Exists {
	bool get ();
}
abstract Exists : bool with get
override Exists : bool with get

Property Value

Type: Boolean
Returns true when the collection already exists, false otherwise.

Implements

IRepositoryManagerT, TKeyExists
See Also