Language

RelationalKeyDiscoveryConvention.DiscoverKeyProperties メソッド

定義

主キーに使用するプロパティを返します。

protected override System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? DiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
override this.DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Protected Overrides Function DiscoverKeyProperties (entityType As IConventionEntityType) As List(Of IConventionProperty)

パラメーター

entityType
IConventionEntityType

エンティティ型。

戻り値

主キーに使用するプロパティ。

適用対象