次の方法で共有


EntityFrameworkServicesBuilder.GetServiceCharacteristics(Type) メソッド

定義

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

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics GetServiceCharacteristics (Type serviceType);
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.ServiceCharacteristics
abstract member GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics
override this.GetServiceCharacteristics : Type -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics
Protected Overridable Function GetServiceCharacteristics (serviceType As Type) As EntityFrameworkServicesBuilder.ServiceCharacteristics
Protected Overridable Function GetServiceCharacteristics (serviceType As Type) As ServiceCharacteristics

パラメーター

serviceType
Type

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

戻り値

この型の ServiceCharacteristics

属性

例外

型が EF サービスでない場合は 。

注釈

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

適用対象