Compartilhar via


ExtensionMethods.AddAlternateKeyAnnotation Método

Definição

Adiciona as chaves alternativas a esse tipo de entidade.

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))

Parâmetros

model
EdmModel

O modelo a ser usado.

type
IEdmEntityType

Referência ao objeto de chamada.

alternateKey
IDictionary<String,IEdmProperty>

Dicionário de alias e propriedades estruturais para a chave alternativa.

Aplica-se a