zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/IdentityStores/CustomDbCommandInterceptor.cs

14 lines
523 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using Microsoft.EntityFrameworkCore.Diagnostics;
using System.Data.Common;
namespace ZeroFramework.IdentityServer.API.IdentityStores
{
public class CustomDbCommandInterceptor : DbCommandInterceptor
{
public override ValueTask<DbDataReader> ReaderExecutedAsync(DbCommand command, CommandExecutedEventData eventData, DbDataReader result, CancellationToken cancellationToken = default)
{
return base.ReaderExecutedAsync(command, eventData, result, cancellationToken);
}
}
}