Langue

IInterceptors.Aggregate<TInterceptor> Méthode

Définition

Résout un single TInterceptor de tous ceux inscrits sur le DbContext fournisseur de services interne ou dans celui-ci.

public TInterceptor? Aggregate<TInterceptor>() where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
public TInterceptor Aggregate<TInterceptor>() where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
abstract member Aggregate : unit -> 'Interceptor (requires 'Interceptor : null and 'Interceptor :> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor)
Public Function Aggregate(Of TInterceptor As {Class, IInterceptor}) () As TInterceptor

Paramètres de type

TInterceptor

Type d’intercepteur à résoudre.

Retours

TInterceptor

Intercepteur résolu, qui peut être null si aucun n’est inscrit.

S’applique à