DevForce Help Reference
DefaultEntitySetNameAttribute Class
Members 


Defines an attribute that associates an Entity subclass with a default EntitySet name.
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class DefaultEntitySetNameAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As DefaultEntitySetNameAttribute
[AttributeUsage(ValidOn=AttributeTargets.Class, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class DefaultEntitySetNameAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
Remarks
This attribute is auto-generated by the Object Mapper on each Entity class using the Entity Set Name specified for the Entity in the model. The default name is the one used when the EntityQuery.EntitySetName has not been set for a query.
Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.EntityModel.DefaultEntitySetNameAttribute

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DefaultEntitySetNameAttribute Members
IdeaBlade.EntityModel Namespace

Send Feedback