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

触发器。

返回

数据库名称的配置源。

适用于