ScaffoldingModelExtensions.IsHandledByConvention(IKey) 方法

定義

取得值,指出索引鍵是否由慣例設定。

public static bool IsHandledByConvention (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey -> bool
<Extension()>
Public Function IsHandledByConvention (key As IKey) As Boolean

參數

key
IKey

要進行檢查的按鍵。

傳回

true 如果金鑰是由慣例所設定,則為 。

適用於