Implements the mapping between a domain object's identity string and the underlying store resource identity.

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public override string MapIdToUri(
	PropertyInfo identifierProperty,
	string id
)
Visual Basic
Public Overrides Function MapIdToUri ( 
	identifierProperty As PropertyInfo,
	id As String
) As String
Visual C++
public:
virtual String^ MapIdToUri(
	PropertyInfo^ identifierProperty, 
	String^ id
) override
F#
abstract MapIdToUri : 
        identifierProperty : PropertyInfo * 
        id : string -> string 
override MapIdToUri : 
        identifierProperty : PropertyInfo * 
        id : string -> string 

Parameters

identifierProperty
Type: System.Reflection..::..PropertyInfo
The property that provides the identifier
id
Type: System..::..String
The identity string to be mapped

Return Value

Type: String
The mapped store resource identity

Remarks

For Brightstar, the domain object's identity string is the same as the Brightstar resoure identity, so this mapping is an identity mapping.

See Also