ExtensionMethods.GetAlternateKeysAnnotation(IEdmModel, IEdmEntityType) Method
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.
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.