語言

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 如果金鑰會依照慣例來配置。

適用於