Monday, October 31, 2011

.Select(p => p.Id);

Make a list of POCOs into a list of the Guids for the POCOs painlessly like so:

var bar = foo.Select(p => p.Id);

No comments:

Post a Comment