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) 組態來源。

適用於