Bagikan melalui


RuntimeProperty.IReadOnlyProperty.IsForeignKey Metode

Definisi

Mendapatkan nilai yang menunjukkan apakah properti ini digunakan sebagai kunci asing (atau bagian dari kunci asing komposit).

[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

Mengembalikan

true jika properti digunakan sebagai kunci asing, jika tidak false.

Penerapan

Atribut

Berlaku untuk