Jaa


ExtensionMethods.AddAlternateKeyAnnotation Method

Definition

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.

Applies to