Share via


RelationalTriggerExtensions.SetTableName Method

Definition

Overloads

SetTableName(IMutableTrigger, String)

Sets the name of the table on which this trigger is defined.

SetTableName(IConventionTrigger, String, Boolean)

Sets the name of the table on which this trigger is defined.

SetTableName(IMutableTrigger, String)

Sets the name of the table on which this trigger is defined.

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)

Parameters

trigger
IMutableTrigger

The trigger.

name
String

The name of the table on which this trigger is defined.

Applies to

SetTableName(IConventionTrigger, String, Boolean)

Sets the name of the table on which this trigger is defined.

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

Parameters

trigger
IConventionTrigger

The trigger.

name
String

The name of the table on which this trigger is defined.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to