语言

ISingletonInterceptor 接口

定义

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

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

适用于