Sdílet prostřednictvím


RuntimeProperty.IReadOnlyProperty.IsForeignKey Metoda

Definice

Získá hodnotu označující, zda je tato vlastnost použita jako cizí klíč (nebo součást složeného cizího klíče).

[System.Diagnostics.DebuggerStepThrough]
bool IReadOnlyProperty.IsForeignKey ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsForeignKey : unit -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsForeignKey : unit -> bool
Function IsForeignKey () As Boolean Implements IReadOnlyProperty.IsForeignKey

Návraty

true pokud se vlastnost používá jako cizí klíč, jinak false.

Implementuje

Atributy

Platí pro