語言

RuntimeProperty.IProperty.GetContainingKeys 方法

定義

取得所有使用此屬性的主鍵或備用鍵(包括包含此屬性的複合鍵)。

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> IProperty.GetContainingKeys();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IProperty.GetContainingKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IProperty.GetContainingKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IKey>
Function GetContainingKeys () As IEnumerable(Of IKey) Implements IProperty.GetContainingKeys

傳回

使用此特性的主要與備用鍵。

實作

屬性

適用於