Revision: 34742
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 27, 2010 23:46 by housecor
Initial Code
from c in context.Contacts where c.FirstName == "Robert" let ContactName = new {c.Title, c.LastName, c.FirstName} select ContactName
Initial URL
Initial Description
Note that C# doesn't allow naming in the SELECT statement. Must use the LET operator for this purpose.
Initial Title
Naming a projected anonymous type in LINQ
Initial Tags
Initial Language
C#