Udostępnij za pośrednictwem


ExtensionMethods.GetAlternateKeysAnnotation(IEdmModel, IEdmEntityType) Metoda

Definicja

Pobiera zadeklarowane klucze alternatywne najbardziej zdefiniowanej jednostki z zadeklarowanym kluczem.

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

Parametry

model
IEdmModel

Model do użycia.

type
IEdmEntityType

Odwołanie do obiektu wywołującego.

Zwraca

Klucze alternatywne tego typu.

Dotyczy