DevForce Help Reference
QueryAttribute Class
Members 


Indicates that a method defined within a class marked as EnableClientAccess can be used in an EntityQuery.
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class QueryAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As QueryAttribute
[AttributeUsage(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class QueryAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
Remarks
By default, all methods in an EnableClientAccess attributed class which begin with one of the following prefixes: "Get", "Fetch", "Find", "Query", "Retrieve", or "Select", and which return an IEnumerable<T> are discovered by DevForce. You only need to use this attribute to discover any method whose name does not begin with one of the above prefixes.

This API is beta and subject to change.

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.Core.DomainServices.QueryAttribute

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

QueryAttribute Members
IdeaBlade.Core.DomainServices Namespace

Send Feedback