Jaa


ExtensionMethods.GetAlternateKeysAnnotation(IEdmModel, IEdmEntityType) Method

Definition

Gets the declared alternate keys of the most defined entity with a declared key present.

public static System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,Microsoft.OData.Edm.IEdmProperty>> GetAlternateKeysAnnotation (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmEntityType type);
static member GetAlternateKeysAnnotation : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmEntityType -> seq<System.Collections.Generic.IDictionary<string, Microsoft.OData.Edm.IEdmProperty>>
<Extension()>
Public Function GetAlternateKeysAnnotation (model As IEdmModel, type As IEdmEntityType) As IEnumerable(Of IDictionary(Of String, IEdmProperty))

Parameters

model
IEdmModel

The model to be used.

type
IEdmEntityType

Reference to the calling object.

Returns

Alternate Keys of this type.

Applies to