DataMappedObjectTypeAttribute 类

定义

指定接口或类表示映射的对象类型,即公开特定基础数据源特定对象的强类型视图的 API。

public ref class DataMappedObjectTypeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)]
public sealed class DataMappedObjectTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)>]
type DataMappedObjectTypeAttribute = class
    inherit Attribute
Public NotInheritable Class DataMappedObjectTypeAttribute
Inherits Attribute
继承
DataMappedObjectTypeAttribute
属性

构造函数

DataMappedObjectTypeAttribute(String)

初始化 类的新实例 DataMappedObjectTypeAttribute ,并指定类型名称。

属性

AvailableRestrictions

获取或设置可用于当前类型的所有限制。

AvailableRestrictionsList

获取可用于当前类型的所有限制的列表。

ClassId

获取或设置 特性的类 ID。

Identifier

获取或设置唯一标识当前类型的标识符名称。

IdentifierList

获取唯一标识当前类型的标识符的列表。

RequiredOrdering

获取或设置当前映射类型的所需排序。

TypeName

获取映射类型的名称。

适用于