共用方式為


ConventionModelExtensions.GetChangeTrackingStrategyConfigurationSource 方法

定義

傳回 的 GetChangeTrackingStrategy(IModel) 組態來源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetChangeTrackingStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetChangeTrackingStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetChangeTrackingStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
[<System.Diagnostics.DebuggerStepThrough>]
static member GetChangeTrackingStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetChangeTrackingStrategyConfigurationSource (model As IConventionModel) As Nullable(Of ConfigurationSource)

參數

model
IConventionModel

要尋找組態來源的模型。

傳回

GetChangeTrackingStrategy(IModel) 組態來源。

屬性

適用於