RelationalTriggerExtensions.GetDefaultDatabaseName 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
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)
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)
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.