DataMappedObjectConverter Class
Provides the ability to convert restrictions passed to the mapped object selector into underlying restrictions to pass to the data source–specific type selector, thus allowing mapped selection. Also allows conversion of members of an underlying data object to members of a mapped object, resulting in mapped representations of data objects.
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
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public MustInherit Class DataMappedObjectConverter _
Inherits DataSiteableObject(Of IVsDataConnection) _
Implements IVsDataMappedObjectConverter, IVsDataSupportObject(Of IVsDataMappedObjectConverter)
public abstract class DataMappedObjectConverter : DataSiteableObject<IVsDataConnection>,
IVsDataMappedObjectConverter, IVsDataSupportObject<IVsDataMappedObjectConverter>
public ref class DataMappedObjectConverter abstract : public DataSiteableObject<IVsDataConnection^>,
IVsDataMappedObjectConverter, IVsDataSupportObject<IVsDataMappedObjectConverter^>
[<AbstractClass>]
type DataMappedObjectConverter =
class
inherit DataSiteableObject<IVsDataConnection>
interface IVsDataMappedObjectConverter
interface IVsDataSupportObject<IVsDataMappedObjectConverter>
end
public abstract class DataMappedObjectConverter extends DataSiteableObject<IVsDataConnection> implements IVsDataMappedObjectConverter, IVsDataSupportObject<IVsDataMappedObjectConverter>
The DataMappedObjectConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataMappedObjectConverter() | Initializes a new instance of the DataMappedObjectConverter class. | |
DataMappedObjectConverter(IVsDataConnection) | Initializes a new instance of the DataMappedObjectConverter class, along with a data connection. |
Top
Properties
Name | Description | |
---|---|---|
Site | Gets or sets the object site. (Inherited from DataSiteableObject<T>.) |
Top
Methods
Name | Description | |
---|---|---|
ConvertToMappedMember(String, String, array<Object[]) | Converts the specified member of an underlying data object to its corresponding mapped member. | |
ConvertToMappedMember(String, String, array<Object[], array<Object[]) | Converts the specified member of an underlying data object to its corresponding mapped member. | |
ConvertToUnderlyingRestriction(String, Int32, array<Object[]) | Converts the specified mapped restrictions into underlying restrictions that are data source specific. | |
ConvertToUnderlyingRestriction(String, Int32, array<Object[], array<Object[]) | Converts the specified mapped restrictions into underlying restrictions that are data source specific. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSiteChanged | Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
SiteChanged | Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsDataSupportObject<IVsDataMappedObjectConverter>.Invoke | Invokes the specified method on the IVsDataSupportObject<T> interface. |
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.