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



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

Syntax

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

Remarks

You can decorate your auto-generated entity classes with this attribute by setting the "Can query" property in the Entity Data Model designer for an entity.

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.EntityModel.OperationAuthorizationAttribute
         IdeaBlade.EntityModel.ClientCanQueryAttribute

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.