We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3edb6ad commit 0f66afdCopy full SHA for 0f66afd
docs2/pages/documentations/audit.md
@@ -106,7 +106,7 @@ oracleContext.SaveChanges(audit);
106
AuditManager.DefaultConfiguration.AutoSavePreAction = (context, audit) =>
107
{
108
// ADD "Where(x => x.AuditEntryID == 0)" to allow multiple SaveChanges with same Audit
109
- var customAuditEntries = audit.Entries.Select(x => ((EntityContext)context).Import(x));
+ var customAuditEntries = audit.Entries.Select(x => Import(x));
110
(context as Entities).AuditEntries.AddRange(customAuditEntries);
111
};
112
0 commit comments