ExtensionMethods.AddAlternateKeyAnnotation 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.
Adds the alternate keys to this entity type.
public static void AddAlternateKeyAnnotation (this Microsoft.OData.Edm.EdmModel model, Microsoft.OData.Edm.IEdmEntityType type, System.Collections.Generic.IDictionary<string,Microsoft.OData.Edm.IEdmProperty> alternateKey);
static member AddAlternateKeyAnnotation : Microsoft.OData.Edm.EdmModel * Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IDictionary<string, Microsoft.OData.Edm.IEdmProperty> -> unit
<Extension()>
Public Sub AddAlternateKeyAnnotation (model As EdmModel, type As IEdmEntityType, alternateKey As IDictionary(Of String, IEdmProperty))
Parameters
- model
- EdmModel
The model to be used.
- type
- IEdmEntityType
Reference to the calling object.
- alternateKey
- IDictionary<String,IEdmProperty>
Dictionary of alias and structural properties for the alternate key.