Condividi tramite


EntityFrameworkServicesBuilder.GetServiceCharacteristics(Type) Metodo

Definizione

Ottiene l'oggetto ServiceCharacteristics per il tipo di servizio specificato.

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

Parametri

serviceType
Type

Tipo che definisce l'API del servizio.

Restituisce

Oggetto ServiceCharacteristics per il tipo.

Attributi

Eccezioni

quando il tipo non è un servizio EF.

Commenti

Per altre informazioni ed esempi, vedere Implementazione di provider di database e estensioni .

Si applica a