/// <summary> /// Constructor which taks an etity collection error message. /// </summary> /// <param name="collectionErrors">Collection errors object.</param> public CollectionConstraintException(EntityCollectionErrorMessage collectionErrors) { _errors = collectionErrors; }
/// <summary> /// Default constructor of the collection constraint exception. /// </summary> public CollectionConstraintException() { _errors = new EntityCollectionErrorMessage(); }