Jaa


KeySegment Class

Definition

A segment representing a key lookup in a path.

public sealed class KeySegment : Microsoft.OData.UriParser.ODataPathSegment
type KeySegment = class
    inherit ODataPathSegment
Public NotInheritable Class KeySegment
Inherits ODataPathSegment
Inheritance

Constructors

KeySegment(IEnumerable<KeyValuePair<String,Object>>, IEdmEntityType, IEdmNavigationSource)

Construct a Segment that represents a key lookup.

KeySegment(ODataPathSegment, IEnumerable<KeyValuePair<String,Object>>, IEdmEntityType, IEdmNavigationSource)

Construct a Segment that represents a key lookup.

Properties

EdmType

Gets the type of the item this key returns

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)
Keys

Gets the set of key property names and the values to be used in searching for the given item.

NavigationSource

Gets the navigation source that this key is used to search.

Methods

HandleWith(PathSegmentHandler)

Handle a KeySegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a KeySegment using an instance of PathSegmentTranslator<T>.

Applies to