Assigns an immutable id to this property. The id must be unique and is used to identify the property even if the name should change. The Dynamic Type system uses this value to detect data schema changes.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public class ImmutableFieldIdAttribute : Attribute
Visual Basic
Public Class ImmutableFieldIdAttribute _
	Inherits Attribute
Visual C++
public ref class ImmutableFieldIdAttribute : public Attribute

Examples

This sample shows how to use the ImmutableFieldId attribute:
CopyC#
// (IData attributes)
interface IMyDataType : IData
{
    [ImmutableFieldId("b3bada55-0e7e-4195-86e6-92770c381df4")]
    string Title { get; set; }
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..ImmutableFieldIdAttribute

See Also