DataMappedObjectTypeAttribute Class

Specifies that an interface or class represents a mapped object type. A mapped object type is an API that exposes a strongly-typed view of a particular underlying data source–specific object.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, AllowMultiple := True)> _
Public NotInheritable Class DataMappedObjectTypeAttribute _
    Inherits Attribute
'Usage
Dim instance As DataMappedObjectTypeAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true)]
public sealed class DataMappedObjectTypeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, AllowMultiple = true)]
public ref class DataMappedObjectTypeAttribute sealed : public Attribute
public final class DataMappedObjectTypeAttribute extends Attribute

Remarks

The mappings between data-source types and generic types are specified in the data object support XML file. For example, the mapped type whose name is TableColumn found in the <MappedType> element is the generic type that could be mapped to a data-source type called Column that is found in the <Type> element.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Data.Services.DataMappedObjectTypeAttribute

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

DataMappedObjectTypeAttribute Members

Microsoft.VisualStudio.Data.Services Namespace