Share via


ODataKeySegment Constructors

Definition

Overloads

ODataKeySegment(IEdmEntityType)

Initializes a new instance of ODataKeySegment class.

public ODataKeySegment(Microsoft.OData.Edm.IEdmEntityType entityType);
new Microsoft.OpenApi.OData.Edm.ODataKeySegment : Microsoft.OData.Edm.IEdmEntityType -> Microsoft.OpenApi.OData.Edm.ODataKeySegment
Public Sub New (entityType As IEdmEntityType)

Parameters

entityType
IEdmEntityType

The entity type contains the keys.

Applies to

ODataKeySegment(IEdmEntityType, IDictionary<String,String>)

Initializes a new instance of ODataKeySegment class.

public ODataKeySegment(Microsoft.OData.Edm.IEdmEntityType entityType, System.Collections.Generic.IDictionary<string,string> keyMappings);
new Microsoft.OpenApi.OData.Edm.ODataKeySegment : Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IDictionary<string, string> -> Microsoft.OpenApi.OData.Edm.ODataKeySegment
Public Sub New (entityType As IEdmEntityType, keyMappings As IDictionary(Of String, String))

Parameters

entityType
IEdmEntityType

The entity type contains the keys.

keyMappings
IDictionary<String,String>

The key/template mappings.

Applies to