다음을 통해 공유


KeySegmentTemplate 생성자

정의

오버로드

KeySegmentTemplate(KeySegment)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다.

KeySegmentTemplate(KeySegment, IDictionary<String,IEdmProperty>)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다. 일반적으로 대체 키 시나리오용입니다.

KeySegmentTemplate(IDictionary<String,String>, IEdmEntityType, IEdmNavigationSource)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다.

KeySegmentTemplate(KeySegment)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다.

public KeySegmentTemplate (Microsoft.OData.UriParser.KeySegment segment);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : Microsoft.OData.UriParser.KeySegment -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (segment As KeySegment)

매개 변수

segment
KeySegment

키 세그먼트는 템플릿 키 세그먼트여야 합니다.

적용 대상

KeySegmentTemplate(KeySegment, IDictionary<String,IEdmProperty>)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다. 일반적으로 대체 키 시나리오용입니다.

public KeySegmentTemplate (Microsoft.OData.UriParser.KeySegment segment, System.Collections.Generic.IDictionary<string,Microsoft.OData.Edm.IEdmProperty> keyProperties);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : Microsoft.OData.UriParser.KeySegment * System.Collections.Generic.IDictionary<string, Microsoft.OData.Edm.IEdmProperty> -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (segment As KeySegment, keyProperties As IDictionary(Of String, IEdmProperty))

매개 변수

segment
KeySegment

키 세그먼트는 템플릿 키 세그먼트여야 합니다.

keyProperties
IDictionary<String,IEdmProperty>

키 속성, 키는 별칭, 값은 속성 목록, 복합 속성의 속성일 수 있습니다. 예: 주소/도시.

적용 대상

KeySegmentTemplate(IDictionary<String,String>, IEdmEntityType, IEdmNavigationSource)

KeySegmentTemplate 클래스의 새 인스턴스를 초기화합니다.

public KeySegmentTemplate (System.Collections.Generic.IDictionary<string,string> keys, Microsoft.OData.Edm.IEdmEntityType entityType, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : System.Collections.Generic.IDictionary<string, string> * Microsoft.OData.Edm.IEdmEntityType * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (keys As IDictionary(Of String, String), entityType As IEdmEntityType, navigationSource As IEdmNavigationSource)

매개 변수

keys
IDictionary<String,String>

입력 키 매핑, 키 문자열은 대/소문자를 구분하며 값 문자열은 { 및 }를 사용하여 래퍼해야 합니다.

entityType
IEdmEntityType

선언 형식에는 키가 포함됩니다.

navigationSource
IEdmNavigationSource

탐색 소스입니다. null일 수 있습니다.

적용 대상