ODataUriResolver.ResolveKeys Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
ResolveKeys(IEdmEntityType, IDictionary<String,String>, Func<IEdmTypeReference,String,Object>) |
Při řešení klíčů pro určitou sadu entit by se tato funkce volala, když je klíč zadaný jako páry hodnot názvů. Např. EntitySet(ID='key') |
ResolveKeys(IEdmEntityType, IList<String>, Func<IEdmTypeReference,String,Object>) |
Při řešení klíčů pro určitou sadu entit by se tato funkce volala, když je klíč zadaný jako poziční hodnoty. Např. EntitySet('klíč') |
ResolveKeys(IEdmEntityType, IDictionary<String,String>, Func<IEdmTypeReference,String,Object>)
Při řešení klíčů pro určitou sadu entit by se tato funkce volala, když je klíč zadaný jako páry hodnot názvů. Např. EntitySet(ID='key')
public virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> ResolveKeys (Microsoft.OData.Edm.IEdmEntityType type, System.Collections.Generic.IDictionary<string,string> namedValues, Func<Microsoft.OData.Edm.IEdmTypeReference,string,object> convertFunc);
abstract member ResolveKeys : Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IDictionary<string, string> * Func<Microsoft.OData.Edm.IEdmTypeReference, string, obj> -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
override this.ResolveKeys : Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IDictionary<string, string> * Func<Microsoft.OData.Edm.IEdmTypeReference, string, obj> -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
Public Overridable Function ResolveKeys (type As IEdmEntityType, namedValues As IDictionary(Of String, String), convertFunc As Func(Of IEdmTypeReference, String, Object)) As IEnumerable(Of KeyValuePair(Of String, Object))
Parametry
- type
- IEdmEntityType
Typ pro aktuální sadu entit.
- namedValues
- IDictionary<String,String>
Slovník dvojic name hodnota.
- convertFunc
- Func<IEdmTypeReference,String,Object>
Funkce převodu, která se má použít k převodu hodnoty.
Návraty
Seznam vyřešených klíčů
Platí pro
ResolveKeys(IEdmEntityType, IList<String>, Func<IEdmTypeReference,String,Object>)
Při řešení klíčů pro určitou sadu entit by se tato funkce volala, když je klíč zadaný jako poziční hodnoty. Např. EntitySet('klíč')
public virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> ResolveKeys (Microsoft.OData.Edm.IEdmEntityType type, System.Collections.Generic.IList<string> positionalValues, Func<Microsoft.OData.Edm.IEdmTypeReference,string,object> convertFunc);
abstract member ResolveKeys : Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IList<string> * Func<Microsoft.OData.Edm.IEdmTypeReference, string, obj> -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
override this.ResolveKeys : Microsoft.OData.Edm.IEdmEntityType * System.Collections.Generic.IList<string> * Func<Microsoft.OData.Edm.IEdmTypeReference, string, obj> -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
Public Overridable Function ResolveKeys (type As IEdmEntityType, positionalValues As IList(Of String), convertFunc As Func(Of IEdmTypeReference, String, Object)) As IEnumerable(Of KeyValuePair(Of String, Object))
Parametry
- type
- IEdmEntityType
Typ pro aktuální sadu entit.
- convertFunc
- Func<IEdmTypeReference,String,Object>
Funkce převodu, která se má použít k převodu hodnoty.
Návraty
Seznam vyřešených klíčů