EntityFrameworkServicesBuilder.TryGetServiceCharacteristics(Type) Method

Definition

Gets the ServiceCharacteristics for the given service type.

C#
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics? TryGetServiceCharacteristics (Type serviceType);

Parameters

serviceType
Type

The type that defines the service API.

Returns

The ServiceCharacteristics for the type or null if it's not an EF service.

Remarks

See Implementation of database providers and extensions for more information and examples.

Applies to

Proizvod Verzije
Entity Framework Core 6.0, 7.0, 8.0, 9.0