using System;
using System.Data.Common;

namespace MyPortal.Database.Models.Connection;

public class DbUserWithContext : DbUser
{
    public DbUserWithContext(Guid userId, DbTransaction transaction, ApplicationDbContext context,
        bool auditEnabled = true) : base(userId,
        transaction, auditEnabled)
    {
        Context = context;
    }

    public ApplicationDbContext Context { get; }
}