EdmToClrConverter.RegisterConvertedObject Method

Registers the clrObject corresponding to the edmValue. All subsequent conversions from this edmValue performed by this instance of EdmToClrConverter will return the specified clrObject. Registration is required to support graph consistency and loops during conversion process. This method should be called inside the TryCreateObjectInstance delegate if the delegate is calling back into EdmToClrConverter in order to populate properties of the clrObject.

Namespace:  Microsoft.Data.Edm.EdmToClrConversion
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)


Public Sub RegisterConvertedObject ( _
    edmValue As IEdmStructuredValue, _
    clrObject As Object _
Dim instance As EdmToClrConverter 
Dim edmValue As IEdmStructuredValue 
Dim clrObject As Object

instance.RegisterConvertedObject(edmValue, _
public void RegisterConvertedObject(
    IEdmStructuredValue edmValue,
    Object clrObject
void RegisterConvertedObject(
    IEdmStructuredValue^ edmValue, 
    Object^ clrObject
member RegisterConvertedObject : 
        edmValue:IEdmStructuredValue * 
        clrObject:Object -> unit
public function RegisterConvertedObject(
    edmValue : IEdmStructuredValue, 
    clrObject : Object


See Also


EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace