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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework