ExtensionMethods.FindNavigationProperty 메서드
지정된 형식 및 이름으로 선언된 탐색 속성을 검색합니다.
네임스페이스: Microsoft.Data.Edm
어셈블리: Microsoft.Data.Edm(Microsoft.Data.Edm.dll)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function FindNavigationProperty ( _
type As IEdmEntityTypeReference, _
name As String _
) As IEdmNavigationProperty
‘사용 방법
Dim type As IEdmEntityTypeReference
Dim name As String
Dim returnValue As IEdmNavigationProperty
returnValue = type.FindNavigationProperty(name)
public static IEdmNavigationProperty FindNavigationProperty(
this IEdmEntityTypeReference type,
string name
)
[ExtensionAttribute]
public:
static IEdmNavigationProperty^ FindNavigationProperty(
IEdmEntityTypeReference^ type,
String^ name
)
static member FindNavigationProperty :
type:IEdmEntityTypeReference *
name:string -> IEdmNavigationProperty
public static function FindNavigationProperty(
type : IEdmEntityTypeReference,
name : String
) : IEdmNavigationProperty
매개 변수
- type
유형: Microsoft.Data.Edm.IEdmEntityTypeReference
엔터티 형식에 대한 참조입니다.
- name
유형: System.String
찾는 중인 탐색 속성의 이름입니다.
반환 값
유형: Microsoft.Data.Edm.IEdmNavigationProperty
요청된 탐색 속성입니다.
사용법 정보
Visual Basic 및 C#에서는 이 메서드를 IEdmEntityTypeReference 유형의 모든 개체에 대한 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출하는 경우 첫 번째 매개 변수를 생략합니다. 자세한 내용은 https://msdn.microsoft.com/ko-kr/library/bb384936(v=vs.103) 또는 https://msdn.microsoft.com/ko-kr/library/bb383977(v=vs.103)을(를) 참조하십시오.