Language

EntityFrameworkServicesBuilder.TryGetServiceCharacteristics(Type) メソッド

定義

指定されたサービスの種類の ServiceCharacteristics を取得します。

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)

パラメーター

serviceType
Type

サービス API を定義する型。

戻り値

型の ServiceCharacteristics 。EF サービスでない場合は null 。

注釈

詳細と例については、 データベース プロバイダーと拡張機能の実装 を参照してください。

適用対象