다음을 통해 공유


RuntimeEntityType.IEntityType.FindPrimaryKey 메서드

정의

이 엔터티 형식의 기본 키를 가져옵니다. 기본 키가 정의되지 않은 경우 를 반환 null 합니다.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IKey? IEntityType.FindPrimaryKey ();
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IKey IEntityType.FindPrimaryKey ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey : unit -> Microsoft.EntityFrameworkCore.Metadata.IKey
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey : unit -> Microsoft.EntityFrameworkCore.Metadata.IKey
Function FindPrimaryKey () As IKey Implements IEntityType.FindPrimaryKey

반환

기본 키이거나 null , 정의되지 않은 경우 입니다.

구현

특성

적용 대상