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)源。

适用于