Sdílet prostřednictvím


RuntimeProperty.IReadOnlyProperty.FindContainingPrimaryKey Metoda

Definice

Získá primární klíč, který používá tuto vlastnost (včetně složeného primárního klíče, ve kterém je tato vlastnost zahrnuta).

[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

Návraty

Primární, která používá tuto vlastnost, nebo null pokud není součástí primárního klíče.

Implementuje

Atributy

Platí pro