title: original and current values the same - change tracking is not working
body: <p>After following this <a href="https://exceptionnotfound.net/entity-change-tracking-using-dbcontext-in-entity-framework-6/" rel="nofollow noreferrer">awesome tutorial</a>, my change tracker is not showing that the values have changed.</p>
  <p>Here's my method:</p>
  <pre><code>    public override int SaveChanges()
      {
          var modifiedEntities = ChangeTracker.Entries()
              .Where(p =&gt; p.State == EntityState.Modified).ToList();
          var now = DateTime.UtcNow;
  
          foreach (var change in modifiedEntities)
          {
              var entityName = change.Entity.GetType().Name;
              var primaryKey = GetPrimaryKeyValue(change);
  
              foreach (var prop in change.OriginalValues.PropertyNames)
              {
                  var originalValue = change.OriginalValues[prop].ToString();
                  var currentValue = change.CurrentValues[prop].ToString();
                  if (originalValue != currentValue)
                  {
                      ChangeLog log = new ChangeLog()
                      {
                          EntityName = entityName,
                          PrimaryKeyValue = primaryKey.ToString(),
                          PropertyName = prop,
                          OldValue = originalValue,
                          NewValue = currentValue,
                          DateChanged = now
                      };
                      ChangeLogs.Add(log);
                  }
              }
          }
          return base.SaveChanges();
      }
  </code></pre>
  <p>Why is the <code>originalValue</code> is the same as the <code>currentValue</code>?</p>
  <p><a href="https://i.stack.imgur.com/mXT8R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mXT8R.png" alt="enter image description here" /></a></p>
  <p><strong>When making a change, for some reason the original and current value remain the same. What am I doing wrong?</strong></p>
  <p>The ChangeTracker is showing that 1 record has been changed!</p>
  <p><a href="https://i.stack.imgur.com/N5VuB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N5VuB.png" alt="enter image description here" /></a></p>