DerivedEntityClassAttribute class

Identifies a class that derives from the class to which the attribute is applied.


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

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class DerivedEntityClassAttribute : Attribute

Typically, there will be one of these attributes for each derived class. Primarily, this attribute decorates classes representing content types.

The following is an example of DerivedEntityClassAttributein use:

[ContentType(Name="Item", Id="0x01")]
public partial class Item {

    // Member declarations omitted.

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