EntitySetAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the entity set to which a client data service class belongs.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class EntitySetAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type EntitySetAttribute = class
inherit Attribute
Public NotInheritable Class EntitySetAttribute
Inherits Attribute
- Inheritance
-
EntitySetAttribute
- Attributes
Remarks
This attribute is generated only when there is one entity set associated with the type. When there are more than one entity set associated with the type, then the entity set name can be passed in through the EntitySetNameResolver event.
Constructors
EntitySetAttribute(String) |
Creates a new instance of the EntitySetAttribute. |
Properties
EntitySet |
Gets the entity set to which the class belongs. |