Share via


AdoDotNetObjectConceptMapper Class

Definition

Provides a default implementation of the DataObjectConceptMapper class for ADO.NET data providers.

public ref class AdoDotNetObjectConceptMapper : Microsoft::VisualStudio::Data::DataObjectConceptMapper
public class AdoDotNetObjectConceptMapper : Microsoft.VisualStudio.Data.DataObjectConceptMapper
type AdoDotNetObjectConceptMapper = class
    inherit DataObjectConceptMapper
Public Class AdoDotNetObjectConceptMapper
Inherits DataObjectConceptMapper
Inheritance
AdoDotNetObjectConceptMapper

Constructors

Name Description
AdoDotNetObjectConceptMapper()

Class constructor. Instantiates a new instance of the DataObjectConceptMapper class.

Properties

Name Description
Connection

Retrieves the active DataConnection object instance to be used for any code that relies on connection-specific information.

(Inherited from DataObjectConceptMapper)
DataTypes

Retrieves data types as DataTable object instance.

Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

Name Description
GetDbTypeFromNativeType(String)

Maps a native type to a DbType instance and returns the type value.

GetFrameworkTypeFromNativeType(String)

Maps a native type to .NET Framework data type and returns the appropriate type instance.

GetProviderTypeFromNativeType(String)

Maps a native type to a provider-specific data type.

MapValuesToConcept(String, String, Object[])

Maps one or more data-source-specific values to a specified generic concept.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)

Events

Name Description
SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

Name Description
IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to