Sdílet prostřednictvím


EntityFrameworkServicesBuilder.GetServiceCharacteristics(Type) Metoda

Definice

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

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics
Protected Overridable Function GetServiceCharacteristics (serviceType As Type) As EntityFrameworkServicesBuilder.ServiceCharacteristics
Protected Overridable Function GetServiceCharacteristics (serviceType As Type) As ServiceCharacteristics

Parametry

serviceType
Type

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

Návraty

Pro ServiceCharacteristics typ.

Atributy

Výjimky

pokud typem není služba EF.

Poznámky

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

Platí pro