다음을 통해 공유


IMutableForeignKey.SetDependentToPrincipal 메서드

정의

오버로드

SetDependentToPrincipal(MemberInfo)

주 엔터티를 가리키는 종속 엔터티 형식의 탐색 속성을 설정합니다.

SetDependentToPrincipal(String)

주 엔터티를 가리키는 종속 엔터티 형식의 탐색 속성을 설정합니다.

SetDependentToPrincipal(MemberInfo)

주 엔터티를 가리키는 종속 엔터티 형식의 탐색 속성을 설정합니다.

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation SetDependentToPrincipal (System.Reflection.MemberInfo property);
public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? SetDependentToPrincipal (System.Reflection.MemberInfo? property);
abstract member SetDependentToPrincipal : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function SetDependentToPrincipal (property As MemberInfo) As IMutableNavigation

매개 변수

property
MemberInfo

종속 형식의 탐색 속성입니다. 전달 null 하면 탐색 속성이 정의되지 않습니다.

반환

새로 설정된 탐색 속성입니다.

적용 대상

SetDependentToPrincipal(String)

주 엔터티를 가리키는 종속 엔터티 형식의 탐색 속성을 설정합니다.

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation SetDependentToPrincipal (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? SetDependentToPrincipal (string? name);
abstract member SetDependentToPrincipal : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function SetDependentToPrincipal (name As String) As IMutableNavigation

매개 변수

name
String

종속 형식의 탐색 속성 이름입니다. 전달 null 하면 탐색 속성이 정의되지 않습니다.

반환

새로 설정된 탐색 속성입니다.

적용 대상