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



Arguments to both the callback specified for an EntityManager.ExecuteQueryAsync call and to an EntityManager.Queried event handler.

Object Model

EntityQueriedEventArgs ClassIEntityQuery InterfaceIEntityQuery Interface

Syntax

Visual Basic (Declaration) 
Public Class EntityQueriedEventArgs 
   Inherits IdeaBlade.EntityModel.BaseEntityQueriedEventArgs(Of IEnumerable)
   Implements INotifyCompletedArgs 
Visual Basic (Usage)Copy Code
Dim instance As EntityQueriedEventArgs
C++/CLI 
public ref class EntityQueriedEventArgs : public IdeaBlade.EntityModel.BaseEntityQueriedEventArgs<IEnumerable>, INotifyCompletedArgs  

Remarks

If you have subscribed to the EntityManager.Queried event, your handler will receive an instance of EntityQueriedEventArgs for both synchronous and asynchronous fetch operations. The event is fired after the EntityManager has fetched data from an EntityServer.

If you have called EntityManager.ExecuteQueryAsync with a callback specified, that callback will be called with an instance of EntityQueriedEventArgs representing the status of the fetch operation.

The Result contains an IEnumerable holding the data fetched. The list might be empty if the query was satisfied from cache only. If a span query was used, multiple entity types may be found in the list.

Inheritance Hierarchy

System.Object
   System.EventArgs
      IdeaBlade.EntityModel.AsyncEventArgs
         IdeaBlade.EntityModel.AsyncEventArgs<T>
            IdeaBlade.EntityModel.BaseEntityQueriedEventArgs<T>
               IdeaBlade.EntityModel.EntityQueriedEventArgs

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.