All These Things That I've Done

Apply the programming model to everyday programming problems
posts - 83, comments - 71, trackbacks - 4

My Links


View Gianluca Carucci's profile on LinkedIn

Tag Cloud


Post Categories

Image Galleries



Il rename refactoring sulle query Linq da Visual Studio

L'Entity Framework e Linq To Sql avranno i suoi (grossi) limiti, ma vedere che da:

IEnumerable<CategoryView> views =

from d in categories

select new CategoryView() { Id = d.Id, Name = d.Name, ImageUrl = d.ImageUrl, ImageIconUrl = d.ImageIconUrl };

con un semplice CNTRL-R-R il risultato è questo:


IEnumerable<CategoryView> views =

from e in categories

select new CategoryView() { Id = e.Id, Name = e.Name, ImageUrl = e.ImageUrl, ImageIconUrl = e.ImageIconUrl };

rende un uomo influenzato felice!

Print | posted on giovedì 27 marzo 2008 20:26 | Filed Under [ C# ]

Powered by:
Powered By Subtext Powered By ASP.NET