ConventionPropertyBaseExtensions.GetPropertyAccessModeConfigurationSource 方法

定义

返回 的配置 GetPropertyAccessMode()源。

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

参数

property
IConventionPropertyBase

要查找其配置源的属性。

返回

的配置 GetPropertyAccessMode()源。

适用于