InterceptionResult<TResult>.SuppressWithResult(TResult) Metoda

Definicja

Tworzy nowe InterceptionResult<TResult> wystąpienie wskazujące, że wykonanie powinno zostać pominięte, a zamiast tego należy użyć podanego wyniku.

public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<TResult> SuppressWithResult (TResult result);
static member SuppressWithResult : 'Result -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<'Result>
Public Shared Function SuppressWithResult (result As TResult) As InterceptionResult(Of TResult)

Parametry

result
TResult

Wynik do użycia.

Zwraca

Dotyczy