IPropertyMapper.MapProperty Method (String)

 

Defines a mapping between the name of an IEdmProperty of an IEdmStructuredType and the name that should be used in other contexts, for example, when projecting an instance of an ISelectExpandWrapper into an instance of an IDictionary<TKey, TValue>

Namespace:   System.Web.OData.Query
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

string MapProperty(
    string propertyName
)
String^ MapProperty(
    String^ propertyName
)
abstract MapProperty : 
        propertyName:string -> string
Function MapProperty (
    propertyName As String
) As String

Parameters

Return Value

Type: System.String

The value that will be used as the key for this property in the IDictionary<TKey, TValue> resulting from calling ToDictionary on an ISelectExpandWrapper instance.

See Also

IPropertyMapper Interface
System.Web.OData.Query Namespace

Return to top