다음을 통해 공유


ODataUtils.LoadODataAnnotations 메서드 (IEdmModel, IEdmEntityType, Int32)

지원되는 Odata 관련 serialize 가능한 주석을 해당 메모리 내 표현으로 로드합니다.

네임스페이스:  Microsoft.Data.OData
어셈블리:  Microsoft.Data.OData(Microsoft.Data.OData.dll)

구문

‘선언
<ExtensionAttribute> _
Public Shared Sub LoadODataAnnotations ( _
    model As IEdmModel, _
    entityType As IEdmEntityType, _
    maxEntityPropertyMappingsPerType As Integer _
)
‘사용 방법
Dim model As IEdmModel
Dim entityType As IEdmEntityType
Dim maxEntityPropertyMappingsPerType As Integer

model.LoadODataAnnotations(entityType, _
    maxEntityPropertyMappingsPerType)
public static void LoadODataAnnotations(
    this IEdmModel model,
    IEdmEntityType entityType,
    int maxEntityPropertyMappingsPerType
)
[ExtensionAttribute]
public:
static void LoadODataAnnotations(
    IEdmModel^ model, 
    IEdmEntityType^ entityType, 
    int maxEntityPropertyMappingsPerType
)
static member LoadODataAnnotations : 
        model:IEdmModel * 
        entityType:IEdmEntityType * 
        maxEntityPropertyMappingsPerType:int -> unit 
public static function LoadODataAnnotations(
    model : IEdmModel, 
    entityType : IEdmEntityType, 
    maxEntityPropertyMappingsPerType : int
)

매개 변수

  • maxEntityPropertyMappingsPerType
    유형: System.Int32
    형식 자체와 모든 기본 형식에서 엔터티 형식에 대해 찾을 엔터티 매핑 특성의 최대 수입니다.

사용법 정보

Visual Basic 및 C#에서는 이 메서드를 IEdmModel 유형의 모든 개체에 대한 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출하는 경우 첫 번째 매개 변수를 생략합니다. 자세한 내용은 https://msdn.microsoft.com/ko-kr/library/bb384936(v=vs.103) 또는 https://msdn.microsoft.com/ko-kr/library/bb383977(v=vs.103)을(를) 참조하십시오.

참고 항목

참조

ODataUtils 클래스

LoadODataAnnotations 오버로드

Microsoft.Data.OData 네임스페이스