Language

KeyDiscoveryConvention.DiscoverKeyProperties メソッド

定義

オーバーロード

Name 説明
DiscoverKeyProperties(IConventionEntityType)

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

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

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

DiscoverKeyProperties(IConventionEntityType)

ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs

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

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

パラメーター

entityType
IConventionEntityType

エンティティ型。

戻り値

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

適用対象

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs
ソース:
KeyDiscoveryConvention.cs

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> DiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> candidateProperties);
static member DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * seq<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Shared Function DiscoverKeyProperties (entityType As IConventionEntityType, candidateProperties As IEnumerable(Of IConventionProperty)) As IEnumerable(Of IConventionProperty)

パラメーター

entityType
IConventionEntityType

エンティティ型。

candidateProperties
IEnumerable<IConventionProperty>

考慮するプロパティ。

戻り値

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

適用対象