EdmToClrConverter Class

Represents a IEdmValue to CLR value converter.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.EdmToClrConversion.EdmToClrConverter

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

Syntax

'Declaration
Public Class EdmToClrConverter
'Usage
Dim instance As EdmToClrConverter
public class EdmToClrConverter
public ref class EdmToClrConverter
type EdmToClrConverter =  class end
public class EdmToClrConverter

The EdmToClrConverter type exposes the following members.

Constructors

  Name Description
Public method EdmToClrConverter() Initializes a new instance of the EdmToClrConverter class.
Public method EdmToClrConverter(TryCreateObjectInstance) Initializes a new instance of the EdmToClrConverter class.

Top

Methods

  Name Description
Public method AsClrValue(IEdmValue, Type) Converts edmValue to a CLR value of the specified type.
Public method AsClrValue<T>(IEdmValue) Converts edmValue to a CLR value of the specified type.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RegisterConvertedObject 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.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Edm.EdmToClrConversion Namespace