RelationalTriggerExtensions.GetDatabaseNameConfigurationSource 方法

定义

获取数据库名称的配置源。

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

参数

trigger
IConventionTrigger

触发器。

返回

数据库名称的配置源。

适用于