语言

Attribute 类

定义

一个实体属性复杂类型。

public ref class Attribute : Microsoft::MasterDataServices::Services::DataContracts::DataContractBase
[System.Runtime.Serialization.DataContract(Name="Attribute", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.MasterDataServices.Services.DataContracts.MemberIdentifier))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.MasterDataServices.Services.DataContracts.FileAttribute))]
public class Attribute : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
[<System.Runtime.Serialization.DataContract(Name="Attribute", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.MasterDataServices.Services.DataContracts.MemberIdentifier))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.MasterDataServices.Services.DataContracts.FileAttribute))>]
type Attribute = class
    inherit DataContractBase
Public Class Attribute
Inherits DataContractBase
继承
属性

注解

Attribute复杂类型指定主数据属性,包括其识别和数据值。

构造函数

名称 说明
Attribute()

默认构造函数

属性

名称 说明
Identifier

指定属性元数据对象的 。Identifier

IsChanged

指定属性值是否被更改

TransactionAnnotation
已过时.

指定在更新时适用于该属性事务的注释

Type

指定 AttributeValueType 属性存储的值类型。

Value

指定作为变体数据类型分配给主数据属性的值。

方法

名称 说明
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定值。
返回新值是否与旧值不同。

(继承自 DataContractBase)
SetProperty<T>(T, T, String)

将属性更改为给定值。
返回新值是否与旧值不同。

(继承自 DataContractBase)

适用于