KeySegmentTemplate Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
KeySegmentTemplate(KeySegment) |
Inicjuje nowe wystąpienie klasy KeySegmentTemplate. |
KeySegmentTemplate(KeySegment, IDictionary<String,IEdmProperty>) |
Inicjuje nowe wystąpienie klasy KeySegmentTemplate. Zazwyczaj jest to scenariusz klucza alternatywnego. |
KeySegmentTemplate(IDictionary<String,String>, IEdmEntityType, IEdmNavigationSource) |
Inicjuje nowe wystąpienie klasy KeySegmentTemplate. |
KeySegmentTemplate(KeySegment)
Inicjuje nowe wystąpienie klasy KeySegmentTemplate.
public KeySegmentTemplate (Microsoft.OData.UriParser.KeySegment segment);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : Microsoft.OData.UriParser.KeySegment -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (segment As KeySegment)
Parametry
- segment
- KeySegment
Segment klucza powinien być segmentem klucza szablonu.
Dotyczy
KeySegmentTemplate(KeySegment, IDictionary<String,IEdmProperty>)
Inicjuje nowe wystąpienie klasy KeySegmentTemplate. Zazwyczaj jest to scenariusz klucza alternatywnego.
public KeySegmentTemplate (Microsoft.OData.UriParser.KeySegment segment, System.Collections.Generic.IDictionary<string,Microsoft.OData.Edm.IEdmProperty> keyProperties);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : Microsoft.OData.UriParser.KeySegment * System.Collections.Generic.IDictionary<string, Microsoft.OData.Edm.IEdmProperty> -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (segment As KeySegment, keyProperties As IDictionary(Of String, IEdmProperty))
Parametry
- segment
- KeySegment
Segment klucza powinien być segmentem klucza szablonu.
- keyProperties
- IDictionary<String,IEdmProperty>
Właściwości klucza, klucz jest aliasem, wartość jest listą właściwości, może to być właściwość z właściwości złożonej. Na przykład: adres/miasto.
Dotyczy
KeySegmentTemplate(IDictionary<String,String>, IEdmEntityType, IEdmNavigationSource)
Inicjuje nowe wystąpienie klasy KeySegmentTemplate.
public KeySegmentTemplate (System.Collections.Generic.IDictionary<string,string> keys, Microsoft.OData.Edm.IEdmEntityType entityType, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate : System.Collections.Generic.IDictionary<string, string> * Microsoft.OData.Edm.IEdmEntityType * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.AspNetCore.OData.Routing.Template.KeySegmentTemplate
Public Sub New (keys As IDictionary(Of String, String), entityType As IEdmEntityType, navigationSource As IEdmNavigationSource)
Parametry
- keys
- IDictionary<String,String>
Mapowania klucza wejściowego, ciąg klucza jest uwzględniany w wielkości liter, ciąg wartości powinien otoki z { i }.
- entityType
- IEdmEntityType
Typ deklarowania zawiera klucz.
- navigationSource
- IEdmNavigationSource
Źródło nawigacji. Może to być wartość null.