EntityFrameworkRelationalServicesBuilder.GetServiceCharacteristics 方法

定义

ServiceCharacteristics获取给定服务类型的 。

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

参数

serviceType
Type

定义服务 API 的类型。

返回

类型的 ServiceCharacteristics

属性

例外

当类型不是 EF 服务时。

适用于