Share via


RelationalTriggerExtensions.SetTableSchema Method

Definition

Overloads

SetTableSchema(IMutableTrigger, String)

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

SetTableSchema(IConventionTrigger, String, Boolean)

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

SetTableSchema(IMutableTrigger, String)

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

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

Parameters

trigger
IMutableTrigger

The trigger.

schema
String

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

Applies to

SetTableSchema(IConventionTrigger, String, Boolean)

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

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

Parameters

trigger
IConventionTrigger

The trigger.

schema
String

The schema 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