protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (this.db != null)
         {
             this.db.Dispose();
             this.db = null;
         }
     }
 }
 public Repository()
 {
     this.db = new Code_First_DbContext();
     dbSet   = db.Set <T>();
 }