ConventionTypeBaseExtensions.GetPropertyAccessModeConfigurationSource 方法

定義

傳回 的 GetPropertyAccessMode(ITypeBase) 組態來源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetPropertyAccessModeConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase entityType);
static member GetPropertyAccessModeConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetPropertyAccessModeConfigurationSource (entityType As IConventionTypeBase) As Nullable(Of ConfigurationSource)

參數

entityType
IConventionTypeBase

要設定存取模式的類型。

傳回

GetPropertyAccessMode(ITypeBase) 組態來源。

適用於