共用方式為


RelationalTriggerExtensions.GetDefaultDatabaseName Method

Definition

Overloads

GetDefaultDatabaseName(IReadOnlyTrigger)

Returns the default name that would be used for this trigger in the database.

GetDefaultDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

Returns the default database name that would be used for this trigger.

GetDefaultDatabaseName(IReadOnlyTrigger)

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

Returns the default name that would be used for this trigger in the database.

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

Parameters

trigger
IReadOnlyTrigger

The trigger.

Returns

The default name that would be used for this trigger in the database.

Applies to

GetDefaultDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

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

Returns the default database name that would be used for this trigger.

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

Parameters

trigger
IReadOnlyTrigger

The trigger.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The default name that would be used for this trigger.

Applies to