EntityFrameworkRelationalDesignServicesBuilder.TryGetServiceCharacteristics 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會針對特定服務類型取得 。ServiceCharacteristics
protected override Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics? TryGetServiceCharacteristics(Type serviceType);
override this.TryGetServiceCharacteristics : Type -> Nullable<Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics>
Protected Overrides Function TryGetServiceCharacteristics (serviceType As Type) As Nullable(Of ServiceCharacteristics)
參數
- serviceType
- Type
定義服務 API 的型別。
傳回
如果 ServiceCharacteristics 不是EF服務,那是針對類型 null 。