title: Entity Framework 6.0 ChangeTracker.Entries non public members
body: <p>In my project, I am overriding entity saveChanges() method as below. </p>
  
  <pre><code>public override int SaveChanges()
      {
          foreach (var entity in ChangeTracker.Entries()
          .Where(p =&gt; p.State == EntityState.Added || p.State == EntityState.Deleted || p.State == EntityState.Modified))
          {
             // Logs
          }
  
          return base.SaveChanges();
      }
  </code></pre>
  
  <p>But, ChangeTracker.Entries() says non public members . It is not an error but  I must take the values for logging. Because ChangeTracker.Entries() count=0 , I can't do anything. I am using Entityframework 6.0 
  Thnks.</p>