Bagikan melalui


IInterceptors.Aggregate<TInterceptor> Metode

Definisi

Menyelesaikan satu TInterceptor dari semua yang terdaftar di DbContext atau di penyedia layanan internal.

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

Jenis parameter

TInterceptor

Jenis pencegat untuk diselesaikan.

Mengembalikan

TInterceptor

Pencegat yang diselesaikan, yang mungkin null jika tidak ada yang terdaftar.

Berlaku untuk