Jaa


ODataPathSegmentTranslator.Translate Method

Definition

Overloads

Translate(TypeSegment)

Translate a TypeSegment

Translate(SingletonSegment)

Translate an SingletonSegment

Translate(PropertySegment)

Translate a PropertySegment

Translate(PathTemplateSegment)

Translate a PathTemplateSegment

Translate(OperationSegment)

Translate a OperationSegment

Translate(OperationImportSegment)

Translate a OperationImportSegment

Translate(ValueSegment)

Translate a ValueSegment

Translate(NavigationPropertySegment)

Translate a NavigationPropertySegment

Translate(MetadataSegment)

Translate a MetadataSegment

Translate(KeySegment)

Translate a KeySegment

Translate(EntitySetSegment)

Translate an EntitySetSegment

Translate(DynamicPathSegment)

Translate an OpenPropertySegment

Translate(CountSegment)

Translate a CountSegment

Translate(BatchSegment)

Translate a BatchSegment

Translate(NavigationPropertyLinkSegment)

Visit a NavigationPropertyLinkSegment

Translate(IEdmModel, ODataPath, IDictionary<String,SingleValueNode>)

Translate the parameter alias, convert node, returned entity set into OData path segment.

Translate(TypeSegment)

Translate a 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

Parameters

segment
TypeSegment

the segment to Translate

Returns

Translated odata path segment

Applies to

Translate(SingletonSegment)

Translate an 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

Parameters

segment
SingletonSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(PropertySegment)

Translate a 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

Parameters

segment
PropertySegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(PathTemplateSegment)

Translate a 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

Parameters

segment
PathTemplateSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(OperationSegment)

Translate a 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

Parameters

segment
OperationSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(OperationImportSegment)

Translate a 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

Parameters

segment
OperationImportSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(ValueSegment)

Translate a 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

Parameters

segment
ValueSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(NavigationPropertySegment)

Translate a 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

Parameters

segment
NavigationPropertySegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(MetadataSegment)

Translate a MetadataSegment

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

Parameters

segment
MetadataSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(KeySegment)

Translate a 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

Parameters

segment
KeySegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(EntitySetSegment)

Translate an 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

Parameters

segment
EntitySetSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(DynamicPathSegment)

Translate an 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

Parameters

segment
DynamicPathSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(CountSegment)

Translate a 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

Parameters

segment
CountSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(BatchSegment)

Translate a 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

Parameters

segment
BatchSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(NavigationPropertyLinkSegment)

Visit a 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

Parameters

segment
NavigationPropertyLinkSegment

the segment to Translate

Returns

Translated odata path segment.

Applies to

Translate(IEdmModel, ODataPath, IDictionary<String,SingleValueNode>)

Translate the parameter alias, convert node, returned entity set into OData path segment.

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)

Parameters

model
IEdmModel

The EDM model

path
ODataPath

The odata path segments

parameterAliasNodes
IDictionary<String,SingleValueNode>

The parameter alias

Returns

The translated odata path segments.

Applies to