Bagikan melalui


RuntimeProperty.IReadOnlyProperty.FindContainingPrimaryKey Metode

Definisi

Mendapatkan kunci primer yang menggunakan properti ini (termasuk kunci primer komposit tempat properti ini disertakan).

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

Mengembalikan

Primer yang menggunakan properti ini, atau null jika bukan bagian dari kunci primer.

Penerapan

Atribut

Berlaku untuk