Share via


RelationalTriggerExtensions.SetDatabaseName Method

Definition

Overloads

SetDatabaseName(IMutableTrigger, String)

Sets the name of the trigger in the database.

SetDatabaseName(IConventionTrigger, String, Boolean)

Sets the name of the trigger in the database.

SetDatabaseName(IMutableTrigger, String)

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

Sets the name of the trigger in the database.

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

Parameters

trigger
IMutableTrigger

The trigger.

name
String

The name of the trigger in the database.

Applies to

SetDatabaseName(IConventionTrigger, String, Boolean)

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

Sets the name of the trigger in the database.

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

Parameters

trigger
IConventionTrigger

The trigger.

name
String

The name of the trigger in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to