Dil

EntityFrameworkServicesBuilder.TryGetServiceCharacteristics(Type) Yöntem

Tanım

Verilen hizmet türü için öğesini ServiceCharacteristics alır.

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)

Parametreler

serviceType
Type

Hizmet API'sini tanımlayan tür.

Döndürülenler

ServiceCharacteristics türü için veya null ef hizmeti değilse.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Veritabanı sağlayıcılarının ve uzantılarının uygulanması .

Şunlara uygulanır