Attribute Class

Definition

实体属性复杂类型。An entity attribute complex type.

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.FileAttribute))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.MasterDataServices.Services.DataContracts.MemberIdentifier))]
public class Attribute : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
type Attribute = class
    inherit DataContractBase
Public Class Attribute
Inherits DataContractBase
Inheritance
Attributes

Remarks

Attribute复杂类型指定一个主数据属性,其中包括其标识和数据值。The Attribute complex type specifies a master data attribute, including its identification and data value.

Constructors

Attribute()

默认构造函数Default constructor

Properties

Identifier

指定 Identifier 属性元数据对象的。Specifies the Identifier of the attribute metadata object.

IsChanged

指定属性值是否已更改Specifies whether the attribute value is changed

TransactionAnnotation

指定在更新过程中适用于此属性的事务的批注Specifies the annotation that is applicable to this attribute's transaction during an update

Type

指定 AttributeValueType 或属性存储的值的类型。Specifies the AttributeValueType or the type of value that is stored by the attribute.

Value

指定作为变量数据类型分配给主数据属性的值。Specifies the value that is assigned to the master data attribute as a variant data type.

Methods

SetProperty<T>(T, T, String)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to