LINQ in Action roller

Linq projection

hi, i'm trying to write a projection ProductView. public class ProductViewHelper { private Design _design; private Asset _asset; private List _designText; private List _designImage; etc.. } Here is the Linq i have so far, i'm not getting much love from the intelligence. My question is how do i populate a collection within a projection var query = from d in db.Designs join a in db.Assets on d.Id equals a.DesignId select new ProductViewHelper(new Design(d.Id, d.Title, DateTime.Now, d.PreviewImage), Read More...
Published Tuesday, July 29, 2008 12:31 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication