Hi, I am using LLBLGen Pro v5.9 with EF Core.
I am using Audit.EnitityFramework to provide automatic auditing on everything that is saved from the DbContext. This means that the DataContext class must inherit from AuditDbContext, not from DbContext. Every time I generate the persistence code, it overwrites this. How can I specify the DbContext class to use and also include the appropriate using statement?
Thanks much,
Ian
//------------------------------------------------------------------------------
// <auto-generated>This code was generated by LLBLGen Pro v5.9.</auto-generated>
//------------------------------------------------------------------------------
using System;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MyData.EntityClasses;
using Audit.EntityFramework; //<-------
namespace MyData
{
/// <summary>Class which represents the DataContext for the project / group </summary>
public partial class MyDataContext : AuditDbContext //<--------
{
...