RelationalTriggerExtensions.SetTableSchema 方法

定义

重载

SetTableSchema(IMutableTrigger, String)

设置定义此触发器的表的架构。

SetTableSchema(IConventionTrigger, String, Boolean)

设置定义此触发器的表的架构。

SetTableSchema(IMutableTrigger, String)

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

设置定义此触发器的表的架构。

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)

参数

trigger
IMutableTrigger

触发器。

schema
String

定义此触发器的表的架构。

适用于

SetTableSchema(IConventionTrigger, String, Boolean)

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

设置定义此触发器的表的架构。

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

参数

trigger
IConventionTrigger

触发器。

schema
String

定义此触发器的表的架构。

fromDataAnnotation
Boolean

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

返回

配置的值。

适用于