共用方式為


RuntimeEntityType.IReadOnlyEntityType.GetDeclaredKeys 方法

定義

取得在此實體類型上宣告的所有索引鍵。

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

傳回

宣告的索引鍵。

實作

屬性

適用於