DataServiceEntityAttribute Class

Marks a class as an entity type in WCF Data Services.

SystemObject
   SystemAttribute
    System.Data.Services.CommonDataServiceEntityAttribute

Namespace:   System.Data.Services.Common
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
<[%$TOPIC/ee474303_en-us_VS_113_2_0_0_0_0%]([%$TOPIC/ee474303_en-us_VS_113_2_0_0_0_1%].Class, AllowMultiple := False)> _
Public NotInheritable Class DataServiceEntityAttribute _
	Inherits [%$TOPIC/ee474303_en-us_VS_113_2_0_0_0_2%]
Dim instance As DataServiceEntityAttribute
[[%$TOPIC/ee474303_en-us_VS_113_2_0_2_0_0%]([%$TOPIC/ee474303_en-us_VS_113_2_0_2_0_1%].Class, AllowMultiple = false)]
public sealed class DataServiceEntityAttribute : [%$TOPIC/ee474303_en-us_VS_113_2_0_2_0_2%]
[[%$TOPIC/ee474303_en-us_VS_113_2_0_3_0_0%]([%$TOPIC/ee474303_en-us_VS_113_2_0_3_0_1%]::Class, AllowMultiple = false)]
public ref class DataServiceEntityAttribute sealed : public [%$TOPIC/ee474303_en-us_VS_113_2_0_3_0_2%]
[<SealedAttribute>]
[<[%$TOPIC/ee474303_en-us_VS_113_2_0_4_0_0%]([%$TOPIC/ee474303_en-us_VS_113_2_0_4_0_1%].Class, AllowMultiple = false)>]
type DataServiceEntityAttribute =  
    class 
        inherit [%$TOPIC/ee474303_en-us_VS_113_2_0_4_0_2%] 
    end
public final class DataServiceEntityAttribute extends [%$TOPIC/ee474303_en-us_VS_113_2_0_5_0_0%]

The DataServiceEntityAttribute type exposes the following members.

  NameDescription
Public method DataServiceEntityAttributeCreates a new instance of the DataServiceEntityAttribute class.
Top
  NameDescription
Public property TypeId (Inherited from Attribute.)
Top
  NameDescription
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method ToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.