ODataKeySegment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ODataKeySegment(IEdmEntityType) |
Initializes a new instance of ODataKeySegment class. |
| ODataKeySegment(IEdmEntityType, IDictionary<String,String>) |
Initializes a new instance of ODataKeySegment class. |
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.