Class TypeMappedToMoreThanOneCollectionException<TEntity>
- Namespace
- Arc4u.MongoDB.Exceptions
- Assembly
- Arc4u.MongoDB.dll
Thrown when an entity type is mapped to several collections and a single one is expected.
public class TypeMappedToMoreThanOneCollectionException<TEntity> : Exception, ISerializable
Type Parameters
TEntityThe entity type.
- Inheritance
-
TypeMappedToMoreThanOneCollectionException<TEntity>
- Implements
- Inherited Members
Constructors
TypeMappedToMoreThanOneCollectionException(int)
Creates the exception.
public TypeMappedToMoreThanOneCollectionException(int times)
Parameters
timesintThe number of collections the type is mapped to.