Language

KeyDiscoveryConvention.ShouldDiscoverKeyProperties メソッド

定義

エンティティ型のキー プロパティを検出するかどうかを決定します。

protected virtual bool ShouldDiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member ShouldDiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> bool
override this.ShouldDiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> bool
Protected Overridable Function ShouldDiscoverKeyProperties (entityType As IConventionEntityType) As Boolean

パラメーター

entityType
IConventionEntityType

エンティティ型。

戻り値

true キー プロパティを検出する必要がある場合は 〟。それ以外の場合は false。

適用対象