ConventionModelExtensions.GetPropertyAccessModeConfigurationSource 方法

定义

返回 的配置 GetPropertyAccessMode(IModel)源。

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

参数

model
IConventionModel

要查找其配置源的模型。

返回

的配置 GetPropertyAccessMode(IModel)源。

适用于