Sdílet prostřednictvím


EntityFrameworkServicesBuilder.TryGetServiceCharacteristics(Type) Metoda

Definice

Získá pro ServiceCharacteristics daný typ služby.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics? TryGetServiceCharacteristics (Type serviceType);
abstract member TryGetServiceCharacteristics : Type -> Nullable<Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics>
override this.TryGetServiceCharacteristics : Type -> Nullable<Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics>
Protected Overridable Function TryGetServiceCharacteristics (serviceType As Type) As Nullable(Of ServiceCharacteristics)

Parametry

serviceType
Type

Typ, který definuje rozhraní API služby.

Návraty

Typ ServiceCharacteristics nebo null pokud se nejedná o službu EF.

Poznámky

Další informace a příklady najdete v tématu Implementace zprostředkovatelů a rozšíření databáze .

Platí pro