| 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 | |
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.
System.Object
System.Attribute
IdeaBlade.EntityModel.OperationAuthorizationAttribute
IdeaBlade.EntityModel.ClientCanQueryAttribute
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