共用方式為


RelationalTriggerExtensions.GetDatabaseName Method

Definition

Overloads

GetDatabaseName(IReadOnlyTrigger)

Gets the name of the trigger in the database.

GetDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

Gets the database name of the trigger.

GetDatabaseName(IReadOnlyTrigger)

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

Gets the name of the trigger in the database.

public static string? GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger trigger);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger -> string
<Extension()>
Public Function GetDatabaseName (trigger As IReadOnlyTrigger) As String

Parameters

trigger
IReadOnlyTrigger

The trigger.

Returns

The name of the trigger in the database.

Applies to

GetDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

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

Gets the database name of the trigger.

public static string? GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger trigger, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDatabaseName (trigger As IReadOnlyTrigger, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

trigger
IReadOnlyTrigger

The trigger.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The database name of the trigger for the given store object.

Applies to