title: How to include a Custom field into Audit.EntityFramework?
body: <p>I'm using Audit.EntityFramework.Core, where I implement Auditing by Using DbContextHelper,IAuditDbContext and Overriding SaveChanges() and SaveChangesAsync() methods, <strong>Instead of inheriting AuditDbContext</strong>.</p>
  
  <pre><code>public partial class MyContext: DbContext
  {
      private static DbContextHelper _helper = new DbContextHelper();
      private readonly IAuditDbContext _auditContext;
  
      public MyContext(DbContextOptions&lt;MyContext&gt; options) : base(options)
      {
          _auditContext = new DefaultAuditContext(this);
          _helper.SetConfig(_auditContext);
      }
  
      public override int SaveChanges()
      {
          return _helper.SaveChanges(_auditContext, () =&gt; base.SaveChanges());
      }
  
      public override async Task&lt;int&gt; SaveChangesAsync(CancellationToken cancellationToken = default(CancellationToken))
      {
          return await _helper.SaveChangesAsync(_auditContext, () =&gt; base.SaveChangesAsync(cancellationToken));
      }
  }
  </code></pre>
  
  <blockquote>
    <p><strong>My requirement is to add some custom field to Audit</strong></p>
  </blockquote>
  
  <p>, but since I don't inherit AuditDbContext I don't have the access to <code>context.AddAuditCustomField("key", object);</code></p>
  
  <p>I tried to manually add the implementation of AddAuditCustomField(), but I couldn't figure out the link between evt.CustomFields["sample"] and ExtraFields["sample"].</p>
  
  <pre><code>_context.AddAuditCustomField("Sample", sample);
  </code></pre>
  
  <p>`</p>
  
  <pre><code>a.RequesterID = evt.CustomFields["Sample"] as string;
  </code></pre>
  
  <p>I'm new to this Library, so kindly help me out. Thank you. </p>