title: Entity Framework Core 2 Save strings as uppercase
body: <p>I want to save all strings to my DB in uppercase. I think the best place to do this is by overriding <code>SaveChanges()</code> on my <code>DbContext</code>. I know I need to call <code>ToUpper()</code> on something but I am unsure on what to call it on.</p>
  
  <pre><code>public override int SaveChanges()
  {
      foreach (var entry in ChangeTracker.Entries().Where(e =&gt; e.State == EntityState.Added || e.State == EntityState.Modified))
      {
         //do something
      }
      return base.SaveChanges();
  }
  </code></pre>