Compartilhar via


ExtensionMethods.GetAlternateKeysAnnotation(IEdmModel, IEdmEntityType) Método

Definição

Obtém as chaves alternativas declaradas da entidade mais definida com uma chave declarada presente.

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

Parâmetros

model
IEdmModel

O modelo a ser usado.

type
IEdmEntityType

Referência ao objeto de chamada.

Retornos

Chaves alternativas desse tipo.

Aplica-se a