EntityFrameworkServicesBuilder.TryGetServiceCharacteristics(Type) Método

Definición

Obtiene para ServiceCharacteristics el tipo de servicio especificado.

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)

Parámetros

serviceType
Type

Tipo que define la API de servicio.

Devoluciones

ServiceCharacteristics para el tipo o null si no es un servicio ef.

Comentarios

Consulte Implementación de proveedores y extensiones de bases de datos para obtener más información y ejemplos.

Se aplica a