title: full entity framework repository interface
body: <p>I am looking for full ef repository interface (and implementation). I have this:</p>
  
  <pre><code>public interface IRepository&lt;T&gt; where T: class
  {
      IQueryable&lt;T&gt; GetQuery();
  
      IEnumerable&lt;T&gt; GetAll();
      IEnumerable&lt;T&gt; Find(Func&lt;T, bool&gt; where);
      T Single(Func&lt;T, bool&gt; where);
      T First(Func&lt;T, bool&gt; where);
  
      void Delete(T entity);
      void Add(T entity);
      void Attach(T entity);
      void SaveChanges();
  }
  </code></pre>
  
  <p>And I am looking an interface of all methods include SingleOrDefault and so on.<br>
  Where I can find such thing?</p>