언어

PropertyExtensions.IsForeignKey(IProperty) 메서드

정의

주의

Use IReadOnlyProperty.IsForeignKey

이 속성이 외래 키(또는 복합 외래 키의 일부)로 사용되는지 여부를 나타내는 값을 가져옵니다.

public static bool IsForeignKey(this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.IsForeignKey")]
public static bool IsForeignKey(this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member IsForeignKey : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
[<System.Obsolete("Use IReadOnlyProperty.IsForeignKey")>]
static member IsForeignKey : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
<Extension()>
Public Function IsForeignKey (property As IProperty) As Boolean

매개 변수

property
IProperty

확인할 속성입니다.

반품

true 속성이 외래 키로 사용되면 그렇지 않습니다 false.

특성

적용 대상