AttributeFilter Class

 

A filter to constrain the possible values of a child attribute based upon the value of a parent attribute.

Namespace:   Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

System::Object
  Microsoft.MasterDataServices.Services.DataContracts::DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts::AttributeFilter

[DataContractAttribute(Name = "AttributeFilter", Namespace = "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class AttributeFilter : DataContractBase

NameDescription
System_CAPS_pubmethodAttributeFilter()

Initializes a new instance of the MetadataAttribute class.

NameDescription
System_CAPS_pubpropertyDerivedHierarchyId

Gets or sets the DerivedHierarchy identifier of the level that filters the attribute. The hierarchy MUST belong to the same model as the attribute that is being filtered.

System_CAPS_pubpropertyLevelNumber

Gets or sets the DerivedHierarchy level number, which is zero-based and runs from hierarchy top to bottom. The level must be of type DBA or ManyToMany. The level's EntityId must be the same as ParentAttributeId's DomainEntityId. The next level down must have the same EntityId as the DomainEntityId of the child MetadataAttribute being filtered.

System_CAPS_pubpropertyParentAttributeId

Gets or sets the parent attribute identifier whose value filters the list of possible values for the child attribute. The parent MUST be a domain-based attribute (DBA) within the same EntityMemberType as the child attribute that it filters.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetProperty<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.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The AttributeFilter complex type specifies a filter to constrain the possible values of a child attribute based upon the value of a parent attribute. The parent-child relationship is defined by a specified derived heireachy level.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: