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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework