Share via


DataObjectConceptMapper Class

Enables providing a customized mapper of data-source-specific metadata into well known concepts for use by a generic designer.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

Public MustInherit Class DataObjectConceptMapper _
    Inherits ObjectWithSite

Dim instance As DataObjectConceptMapper
public abstract class DataObjectConceptMapper : ObjectWithSite
public ref class DataObjectConceptMapper abstract : public ObjectWithSite
public abstract class DataObjectConceptMapper extends ObjectWithSite

Remarks

A DDEX Provider should implement the DataObjectConceptMapper class when the mapping from data-source-specific metadata into a well known concept is too complicated to specify in their data object support XML file.

The DDEX Provider should specify a custom mapper for the target concept in their XML file as either a COM class ID that is registered in the Visual Studio local registry hive under the CLSID key, or as a managed type name, qualified as necessary.

At runtime, the DDEX metadata engine initializes an instance of this class and sites the object with the active DataConnection object.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.ObjectWithSite
    Microsoft.VisualStudio.Data.DataObjectConceptMapper
      Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetObjectConceptMapper

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

Concepts

DDEX Data Object Support

Concepts Reference Overview

Reference

DataObjectConceptMapper Members

Microsoft.VisualStudio.Data Namespace

ObjectWithSite