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

適用於