>buongiorno,
ciao
>io vorrei tradurre in linq questa query:
>select * from T_VERSION ver where (ver.id_file,VER.VERSION) in(select
>id_file, max(version) from T_VERSION group by id_file)
>sapete aiutarmi?
che ne dici di questa?
var result = from t in table
group t by t.ID_FILE
into grp
select grp.OrderByDescending(d => d.VERSION).First();
>grazie
di nulla! 
Alessandro Alpi | SQL Server MVP
MCP|MCITP|MCTS|MCT
http://blogs.dotnethell.it/suxstellino
http://suxstellino.wordpress.com
http://mvp.microsoft.com/en-us/mvp/Alessandro%20Alpi-4014222