Share via


AdoDotNetMappedObjectConverter Class

Definition

Represents an implementation of the IVsDataMappedObjectConverter interface using the ADO .NET DataTypes metadata collection.

public ref class AdoDotNetMappedObjectConverter : Microsoft::VisualStudio::Data::Framework::DataMappedObjectConverter
public class AdoDotNetMappedObjectConverter : Microsoft.VisualStudio.Data.Framework.DataMappedObjectConverter
type AdoDotNetMappedObjectConverter = class
    inherit DataMappedObjectConverter
Public Class AdoDotNetMappedObjectConverter
Inherits DataMappedObjectConverter
Inheritance

Constructors

Name Description
AdoDotNetMappedObjectConverter()

Initializes a new instance of the AdoDotNetMappedObjectConverter class.

AdoDotNetMappedObjectConverter(IVsDataConnection)

Initializes a new instance of the AdoDotNetMappedObjectConverter class with the data connection object.

Properties

Name Description
DataTypes

Gets data types as DataTable object instances.

Site

Gets or sets the object site.

(Inherited from DataSiteableObject<T>)

Methods

Name Description
ConvertToMappedMember(String, String, Object[], Object[])

Maps one or more data source–specific values to a specified generic mapped type: an ADO.NET data type, an ADO.NET DbType, or a .NET Framework Type value.

ConvertToMappedMember(String, String, Object[])

Converts the specified member of an underlying data object to its corresponding mapped member.

(Inherited from DataMappedObjectConverter)
ConvertToUnderlyingRestriction(String, Int32, Object[], Object[])

Converts the specified mapped restrictions into underlying restrictions that are data source specific.

(Inherited from DataMappedObjectConverter)
ConvertToUnderlyingRestriction(String, Int32, Object[])

Converts the specified mapped restrictions into underlying restrictions that are data source specific.

(Inherited from DataMappedObjectConverter)
GetDbTypeFromNativeType(String)

Converts the specified native type to a DbType type that is used by an ADO.NET data provider.

GetFrameworkTypeFromNativeType(String)

Converts the native type to a Type type

GetProviderTypeFromNativeType(String)

Converts the native type to the provider's specific type.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

Events

Name Description
SiteChanged

Occurs when the Site property is changed.

(Inherited from DataSiteableObject<T>)

Explicit Interface Implementations

Name Description
IVsDataSupportObject<IVsDataMappedObjectConverter>.Invoke(String, Object[], Object[]) (Inherited from DataMappedObjectConverter)

Applies to