Export (0) Print
Expand All

DataAttribute Class

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

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public abstract class DataAttribute : Attribute

Use this as the parent class for custom classes that create attributes on properties that are mapped to list columns or list properties.

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