RelationalTriggerExtensions.SetTableName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework