DataAttribute Members

Include Protected Members
Include Inherited Members

Provides two optional properties commonly used by attributes on properties (of entity classes) that are mapped to list fields (columns) or list properties.

The DataAttribute type exposes the following members.

Constructors

  Name Description
Protected method DataAttribute Initializes a new instance of the DataAttribute class.

Top

Properties

  Name Description
Public property Name Gets or sets the internal name of the list field (column) or list property.
Public property ReadOnly Gets or sets a value that indicates whether the column on the list is read-only.
Public property Storage Gets or sets the field member of the entity class that stores the value of the property to which the attribute is applied.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

DataAttribute Class

Microsoft.SharePoint.Linq Namespace