>>Hi Viv, I think "ugly" is too small a word ! but Linq syntax is hardly a Rembrandt ? thanks for your time
>
>On the contrary, under VS 2008, LINQ is quite succinct and and easy to understand once the initial learning curve is dealt with. I'm current working on a project that involves querying against XML data, and LINQ is a lifesaver. There's even a point that I use LINQ to query an array. So it's quite the handy tool.
----------------------
Hey David
Any idea on why I can't get this select to take in my Statement?
public IEnumerable
SubOrderDocView()
{
myVPCDataContext db = new myVPCDataContext();
IEnumerable docs = from d in db.SubmittedOrderDocumentViews
where d.status == 29
select new { ID = d.friendlyID, docXML = d.simpleDocumentXML } into UnReleased
select UnReleased;
return docs;
}
I don't want to extract the 20+ cols in the view, just the key and the docXML. This is in a DAL for a test project on Linq.
TIA