Udostępnij za pośrednictwem


EntityFrameworkServicesBuilder.GetServiceCharacteristics(Type) Metoda

Definicja

Pobiera wartość ServiceCharacteristics dla danego typu usługi.

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 definiujący interfejs API usługi.

Zwraca

Dla ServiceCharacteristics typu .

Atrybuty

Wyjątki

gdy typ nie jest usługą EF.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Implementacja dostawców i rozszerzeń bazy danych .

Dotyczy