Share via


ODataKeySegment Class

Definition

The key segment.

public class ODataKeySegment : Microsoft.OpenApi.OData.Edm.ODataSegment
type ODataKeySegment = class
    inherit ODataSegment
Public Class ODataKeySegment
Inherits ODataSegment
Inheritance
ODataKeySegment

Constructors

ODataKeySegment(IEdmEntityType, IDictionary<String,String>)

Initializes a new instance of ODataKeySegment class.

ODataKeySegment(IEdmEntityType)

Initializes a new instance of ODataKeySegment class.

Properties

Deprecation

Provides any deprecation information for the segment.

(Inherited from ODataSegment)
EntityType

Gets the entity type of current segment.

Identifier

Gets the identifier of this segment.

IsAlternateKey

Is true if key segment is alternate key

KeyMappings

Gets the key/template mappings.

Kind

Gets the kind of this segment.

Methods

GetAnnotables()

Returns the list of IEdmVocabularyAnnotatable this segment refers to.

GetPathHash(OpenApiConvertSettings, ODataPath)

Profides a suffix for the operation id based on the operation path.

(Inherited from ODataSegment)
GetPathItemName(OpenApiConvertSettings, HashSet<String>)

Gets the path item name for this segment.

GetPathItemName(OpenApiConvertSettings)

Gets the path item name for this segment.

(Inherited from ODataSegment)

Applies to