共用方式為


RelationalTriggerExtensions.GetTableSchemaConfigurationSource 方法

定義

取得資料表架構的組態來源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetTableSchemaConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger trigger);
static member GetTableSchemaConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetTableSchemaConfigurationSource (trigger As IConventionTrigger) As Nullable(Of ConfigurationSource)

參數

trigger
IConventionTrigger

觸發程式。

傳回

資料庫名稱的組態來源。

適用於