RelationalTriggerExtensions.SetTableName 方法

定义

重载

SetTableName(IMutableTrigger, String)

设置定义此触发器的表的名称。

SetTableName(IConventionTrigger, String, Boolean)

设置定义此触发器的表的名称。

SetTableName(IMutableTrigger, String)

Source:
RelationalTriggerExtensions.cs
Source:
RelationalTriggerExtensions.cs
Source:
RelationalTriggerExtensions.cs

设置定义此触发器的表的名称。

public static void SetTableName (this Microsoft.EntityFrameworkCore.Metadata.IMutableTrigger trigger, string? name);
static member SetTableName : Microsoft.EntityFrameworkCore.Metadata.IMutableTrigger * string -> unit
<Extension()>
Public Sub SetTableName (trigger As IMutableTrigger, name As String)

参数

trigger
IMutableTrigger

触发器。

name
String

定义此触发器的表的名称。

适用于

SetTableName(IConventionTrigger, String, Boolean)

Source:
RelationalTriggerExtensions.cs
Source:
RelationalTriggerExtensions.cs
Source:
RelationalTriggerExtensions.cs

设置定义此触发器的表的名称。

public static string? SetTableName (this Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger trigger, string? name, bool fromDataAnnotation = false);
static member SetTableName : Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger * string * bool -> string
<Extension()>
Public Function SetTableName (trigger As IConventionTrigger, name As String, Optional fromDataAnnotation As Boolean = false) As String

参数

trigger
IConventionTrigger

触发器。

name
String

定义此触发器的表的名称。

fromDataAnnotation
Boolean

指示配置是否是使用数据注释指定的。

返回

配置的值。

适用于