共用方式為


ConventionPropertyExtensions.GetBeforeSaveBehaviorConfigurationSource 方法

定義

傳回 的 GetBeforeSaveBehavior(IProperty) 組態來源。

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

參數

property
IConventionProperty

要為其尋找組態來源的屬性。

傳回

GetBeforeSaveBehavior(IProperty) 組態來源。

適用於