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) | ![]() |
---|---|
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 |
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.
System.Object
System.Attribute
IdeaBlade.EntityModel.ClientQueryPermissionsAttribute
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