다음을 통해 공유


AdoDotNetMappedObjectConverter Class

Provides an implementation of the DataMappedObjectConverter class using the ADO.NET DataTypes metadata collection.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataConnection>
    Microsoft.VisualStudio.Data.Framework.DataMappedObjectConverter
      Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetMappedObjectConverter

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

Syntax

‘선언
Public Class AdoDotNetMappedObjectConverter _
    Inherits DataMappedObjectConverter
public class AdoDotNetMappedObjectConverter : DataMappedObjectConverter
public ref class AdoDotNetMappedObjectConverter : public DataMappedObjectConverter
type AdoDotNetMappedObjectConverter =  
    class
        inherit DataMappedObjectConverter
    end
public class AdoDotNetMappedObjectConverter extends DataMappedObjectConverter

The AdoDotNetMappedObjectConverter type exposes the following members.

Constructors

  Name Description
Public method AdoDotNetMappedObjectConverter() Initializes a new instance of the AdoDotNetMappedObjectConverter class.
Public method AdoDotNetMappedObjectConverter(IVsDataConnection) Initializes a new instance of the AdoDotNetMappedObjectConverter class with the data connection object.

Top

Properties

  Name Description
Protected property DataTypes Gets data types as DataTable object instances.
Public property Site Gets or sets the object site. (Inherited from DataSiteableObject<T>.)

Top

Methods

  Name Description
Public method ConvertToMappedMember(String, String, array<Object[]) Converts the specified member of an underlying data object to its corresponding mapped member. (Inherited from DataMappedObjectConverter.)
Protected method ConvertToMappedMember(String, String, array<Object[], array<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. (Overrides DataMappedObjectConverter.ConvertToMappedMember(String, String, array<Object[], array<Object[]).)
Public method ConvertToUnderlyingRestriction(String, Int32, array<Object[]) Converts the specified mapped restrictions into underlying restrictions that are data source specific. (Inherited from DataMappedObjectConverter.)
Protected method ConvertToUnderlyingRestriction(String, Int32, array<Object[], array<Object[]) Converts the specified mapped restrictions into underlying restrictions that are data source specific. (Inherited from DataMappedObjectConverter.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetDbTypeFromNativeType Converts the specified native type to a DbType type that is used by an ADO.NET data provider.
Protected method GetFrameworkTypeFromNativeType Converts the native type to a Type type
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetProviderTypeFromNativeType Converts the native type to the provider's specific type.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSiteChanged Raises the SiteChanged event. (Overrides DataSiteableObject<T>.OnSiteChanged(EventArgs).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event SiteChanged Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsDataSupportObject<IVsDataMappedObjectConverter>.Invoke Invokes the specified method on the IVsDataSupportObject<T> interface. (Inherited from DataMappedObjectConverter.)

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.VisualStudio.Data.Framework.AdoDotNet Namespace