Table of Contents

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

TEntity

The entity type.

Inheritance
TypeMappedToMoreThanOneCollectionException<TEntity>
Implements
Inherited Members

Constructors

TypeMappedToMoreThanOneCollectionException(int)

Creates the exception.

public TypeMappedToMoreThanOneCollectionException(int times)

Parameters

times int

The number of collections the type is mapped to.