RelationalTriggerExtensions.GetDatabaseName 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
GetDatabaseName(IReadOnlyTrigger) |
Gets the name of the trigger in the database. |
GetDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier) |
Gets the database name of the trigger. |
GetDatabaseName(IReadOnlyTrigger)
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)
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.