Share via


EntityTypeAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class EntityTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type EntityTypeAttribute = class
    inherit Attribute
Public NotInheritable Class EntityTypeAttribute
Inherits Attribute
Inheritance
EntityTypeAttribute
Attributes

Constructors

EntityTypeAttribute()

Creates a new instance of the EntityTypeAttribute class.

Applies to