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)源。

属性

适用于