Compartilhar via


EntityFrameworkRelationalServicesBuilder.TryGetServiceCharacteristics Método

Definição

Obtém o ServiceCharacteristics para o tipo de serviço fornecido.

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

Parâmetros

serviceType
Type

O tipo que define a API de serviço.

Retornos

O ServiceCharacteristics para o tipo ou null se não for um serviço EF.

Aplica-se a