Sdílet prostřednictvím


RelationalForeignKeyExtensions.GetConstraintName Metoda

Definice

Přetížení

GetConstraintName(IForeignKey)

Vrátí název omezení cizího klíče.

GetConstraintName(IReadOnlyForeignKey)

Vrátí název omezení cizího klíče.

GetConstraintName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Vrátí název omezení cizího klíče.

GetConstraintName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Vrátí název omezení cizího klíče.

GetConstraintName(IForeignKey)

Vrátí název omezení cizího klíče.

public static string GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IForeignKey) As String

Parametry

foreignKey
IForeignKey

Cizí klíč.

Návraty

Název omezení cizího klíče.

Platí pro

GetConstraintName(IReadOnlyForeignKey)

Vrátí název omezení cizího klíče.

public static string? GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IReadOnlyForeignKey) As String

Parametry

foreignKey
IReadOnlyForeignKey

Cizí klíč.

Návraty

Název omezení cizího klíče.

Platí pro

GetConstraintName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Vrátí název omezení cizího klíče.

public static string GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

Parametry

foreignKey
IForeignKey

Cizí klíč.

storeObject
StoreObjectIdentifier

Identifikátor objektu obsahujícího úložiště.

principalStoreObject
StoreObjectIdentifier

Identifikátor objektu hlavního úložiště.

Návraty

Název omezení cizího klíče.

Platí pro

GetConstraintName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Vrátí název omezení cizího klíče.

public static string? GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IReadOnlyForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

Parametry

foreignKey
IReadOnlyForeignKey

Cizí klíč.

storeObject
StoreObjectIdentifier

Identifikátor objektu obsahujícího úložiště.

principalStoreObject
StoreObjectIdentifier

Identifikátor objektu hlavního úložiště.

Návraty

Název omezení cizího klíče.

Platí pro