共用方式為


SqlServerModelExtensions.GetServiceTierSqlConfigurationSource 方法

定義

ConfigurationSource 回資料庫服務層級的 。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetServiceTierSqlConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetServiceTierSqlConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetServiceTierSqlConfigurationSource (model As IConventionModel) As Nullable(Of ConfigurationSource)

參數

model
IConventionModel

模型本身。

傳回

ConfigurationSource資料庫的服務層級的 。

適用於