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