Share via


ISingletonInterceptor 接口

定义

注册为 Singleton 服务的所有实体框架侦听器的基接口。 这意味着单个实例由许多 DbContext 实例使用。 实现必须是线程安全的。

public interface ISingletonInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor
type ISingletonInterceptor = interface
    interface IInterceptor
Public Interface ISingletonInterceptor
Implements IInterceptor
派生
实现

适用于