Multiple choice

Which of the following statements is incorrect about 'Repository' pattern?

  1. This pattern virtualises storage of entities in a persistent medium.

  2. It uses encapsulation technique to store the data.

  3. It allows the use of a common set of methods in the application.

  4. Its instance lifetime is that of the application domain.

  5. The repository uses a series of providers to connect to the source data.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

There is no instance creation in this pattern and the instance creation is performed in Singleton pattern.