zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/IdentityStores/CustomDbCommandInterceptor.cs
2023-12-05 17:22:48 +08:00

14 lines
523 B
C#

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);
}
}
}