Tuesday, September 16, 2014

LINQ Lamda Syntax - Selecting multiple columns

use the new keyword
var parent = dc.Forms.Select(f => new { f.FormID, f.ModuleId })

No comments:

Post a Comment