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.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
string MapProperty(
string propertyName
)
String^ MapProperty(
String^ propertyName
)
abstract MapProperty :
propertyName:string -> string
Function MapProperty (
propertyName As String
) As String
Parameters
propertyName
Type: System.StringThe name of the property in the IEdmStructuredType represented by this instance of ISelectExpandWrapper.
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.Http.OData.Query Namespace
Return to top