ODataPathSegmentTranslator.Translate Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Translate(TypeSegment) |
Traduzir um TypeSegment |
Translate(SingletonSegment) |
Traduzir um SingletonSegment |
Translate(PropertySegment) |
Traduzir um PropertySegment |
Translate(PathTemplateSegment) |
Traduzir um PathTemplateSegment |
Translate(OperationSegment) |
Traduzir um OperationSegment |
Translate(OperationImportSegment) |
Traduzir um OperationImportSegment |
Translate(ValueSegment) |
Traduzir um ValueSegment |
Translate(NavigationPropertySegment) |
Traduzir um NavigationPropertySegment |
Translate(MetadataSegment) |
Traduzir um MetadadosSegment |
Translate(KeySegment) |
Traduzir um KeySegment |
Translate(EntitySetSegment) |
Traduzir um EntitySetSegment |
Translate(DynamicPathSegment) |
Traduzir um OpenPropertySegment |
Translate(CountSegment) |
Traduzir um CountSegment |
Translate(BatchSegment) |
Traduzir um BatchSegment |
Translate(NavigationPropertyLinkSegment) |
Visite um NavigationPropertyLinkSegment |
Translate(IEdmModel, ODataPath, IDictionary<String,SingleValueNode>) |
Traduza o alias do parâmetro, converta o nó, a entidade retornada definida no segmento de caminho OData. |
Translate(TypeSegment)
Traduzir um TypeSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.TypeSegment segment);
override this.Translate : Microsoft.OData.UriParser.TypeSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As TypeSegment) As ODataPathSegment
Parâmetros
- segment
- TypeSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido
Aplica-se a
Translate(SingletonSegment)
Traduzir um SingletonSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.SingletonSegment segment);
override this.Translate : Microsoft.OData.UriParser.SingletonSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As SingletonSegment) As ODataPathSegment
Parâmetros
- segment
- SingletonSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(PropertySegment)
Traduzir um PropertySegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.PropertySegment segment);
override this.Translate : Microsoft.OData.UriParser.PropertySegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As PropertySegment) As ODataPathSegment
Parâmetros
- segment
- PropertySegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(PathTemplateSegment)
Traduzir um PathTemplateSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.PathTemplateSegment segment);
override this.Translate : Microsoft.OData.UriParser.PathTemplateSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As PathTemplateSegment) As ODataPathSegment
Parâmetros
- segment
- PathTemplateSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(OperationSegment)
Traduzir um OperationSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.OperationSegment segment);
override this.Translate : Microsoft.OData.UriParser.OperationSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As OperationSegment) As ODataPathSegment
Parâmetros
- segment
- OperationSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(OperationImportSegment)
Traduzir um OperationImportSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.OperationImportSegment segment);
override this.Translate : Microsoft.OData.UriParser.OperationImportSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As OperationImportSegment) As ODataPathSegment
Parâmetros
- segment
- OperationImportSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(ValueSegment)
Traduzir um ValueSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.ValueSegment segment);
override this.Translate : Microsoft.OData.UriParser.ValueSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As ValueSegment) As ODataPathSegment
Parâmetros
- segment
- ValueSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(NavigationPropertySegment)
Traduzir um NavigationPropertySegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.NavigationPropertySegment segment);
override this.Translate : Microsoft.OData.UriParser.NavigationPropertySegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As NavigationPropertySegment) As ODataPathSegment
Parâmetros
- segment
- NavigationPropertySegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(MetadataSegment)
Traduzir um MetadadosSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.MetadataSegment segment);
override this.Translate : Microsoft.OData.UriParser.MetadataSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As MetadataSegment) As ODataPathSegment
Parâmetros
- segment
- MetadataSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(KeySegment)
Traduzir um KeySegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.KeySegment segment);
override this.Translate : Microsoft.OData.UriParser.KeySegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As KeySegment) As ODataPathSegment
Parâmetros
- segment
- KeySegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(EntitySetSegment)
Traduzir um EntitySetSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.EntitySetSegment segment);
override this.Translate : Microsoft.OData.UriParser.EntitySetSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As EntitySetSegment) As ODataPathSegment
Parâmetros
- segment
- EntitySetSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(DynamicPathSegment)
Traduzir um OpenPropertySegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.DynamicPathSegment segment);
override this.Translate : Microsoft.OData.UriParser.DynamicPathSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As DynamicPathSegment) As ODataPathSegment
Parâmetros
- segment
- DynamicPathSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(CountSegment)
Traduzir um CountSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.CountSegment segment);
override this.Translate : Microsoft.OData.UriParser.CountSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As CountSegment) As ODataPathSegment
Parâmetros
- segment
- CountSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(BatchSegment)
Traduzir um BatchSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.BatchSegment segment);
override this.Translate : Microsoft.OData.UriParser.BatchSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As BatchSegment) As ODataPathSegment
Parâmetros
- segment
- BatchSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(NavigationPropertyLinkSegment)
Visite um NavigationPropertyLinkSegment
public override Microsoft.OData.UriParser.ODataPathSegment Translate (Microsoft.OData.UriParser.NavigationPropertyLinkSegment segment);
override this.Translate : Microsoft.OData.UriParser.NavigationPropertyLinkSegment -> Microsoft.OData.UriParser.ODataPathSegment
Public Overrides Function Translate (segment As NavigationPropertyLinkSegment) As ODataPathSegment
Parâmetros
- segment
- NavigationPropertyLinkSegment
o segmento para Traduzir
Retornos
Segmento de caminho odata traduzido.
Aplica-se a
Translate(IEdmModel, ODataPath, IDictionary<String,SingleValueNode>)
Traduza o alias do parâmetro, converta o nó, a entidade retornada definida no segmento de caminho OData.
public static System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.ODataPathSegment> Translate (Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.UriParser.ODataPath path, System.Collections.Generic.IDictionary<string,Microsoft.OData.UriParser.SingleValueNode> parameterAliasNodes);
static member Translate : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.UriParser.ODataPath * System.Collections.Generic.IDictionary<string, Microsoft.OData.UriParser.SingleValueNode> -> seq<Microsoft.OData.UriParser.ODataPathSegment>
Public Shared Function Translate (model As IEdmModel, path As ODataPath, parameterAliasNodes As IDictionary(Of String, SingleValueNode)) As IEnumerable(Of ODataPathSegment)
Parâmetros
- model
- IEdmModel
O modelo EDM
- path
- ODataPath
Os segmentos de caminho odata
- parameterAliasNodes
- IDictionary<String,SingleValueNode>
O alias do parâmetro
Retornos
Os segmentos de caminho odata traduzidos.