DevForce Help Reference
AnonymousProjectionSelector Class
Members  Example 


Provides the means to dynamically construct an anonymous projection.
Syntax
Remarks
The AnonymousProjectionSelector is used in building a dynamic anonymous projection which contains multiple selectors.
Example
var selector = new AnonymousProjectionSelector()
  .Combine("Category.Name", "CatName")
  .Combine("Category.Description", "CatDesc"); 
var rootQuery = EntityQuery.Create(typeof(Product), _em1); 
var query = rootQuery.Select(selector); 
var results = query.Execute();
Inheritance Hierarchy

System.Object
   IdeaBlade.Linq.SelectorCollection<T,U>
      IdeaBlade.Linq.AnonymousProjectionSelector

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

AnonymousProjectionSelector Members
IdeaBlade.Linq Namespace

Send Feedback