title: What are the advantages/disadvantages of making a Repository Persistence Ignorant?
body: <p>Usually, <em>Repositories</em> should know about the implementation details of which database we decided to use. </p>
  
  <p>a) But what are advantages/disadvantages of also making <em>Repositories</em> Persistence Ignorant ( ie unaware what persistence medium is used for storing data ). Only advantage I can think of is that now same <em>Repository implementation</em> can be used regardless to which medium data is persisted</p>
  
  <p>b) Assuming <em>Repository</em> is made <em>Persistence Ignorant</em>, then both the <em>Repository interface</em> and its implementation should reside within the <em>Domain assembly</em>?!</p>
  
  <p>Thank you</p>