IdeaBlade DevForce 2010 Help Reference
ClientQueryPermissionsAttribute Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : ClientQueryPermissionsAttribute Class



Can be used to indicate the authorized access to query operations on an entity type.

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or  _
    AttributeTargets.Method, 
   AllowMultiple=True, 
   Inherited=True)>
Public Class ClientQueryPermissionsAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
Visual Basic (Usage)Copy Code
Dim instance As ClientQueryPermissionsAttribute
C# 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Method, 
   AllowMultiple=true, 
   Inherited=true)]
public class ClientQueryPermissionsAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
C++/CLI 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Method, 
   AllowMultiple=true, 
   Inherited=true)]
public ref class ClientQueryPermissionsAttribute : public System.Attribute, System.Runtime.InteropServices._Attribute  

Remarks

You can decorate your auto-generated entity classes with this attribute by setting the "Allow includes" and "Allow projections" attributes for the client query in the Entity Data Model designer for the entity.

This attribute may be applied multiple times, and may be applied to both entities and named query methods.

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.EntityModel.ClientQueryPermissionsAttribute

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.