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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Entity Framework