There are two very important visualizers for LINQ which are not part of default installation.
The visualizers are
Ø ExpressionTree Visualizer
Ø SqlServerQuery Visualizer
Both the visualizers are available from
Visual Basic
Samples for Visual Studio 2008 Beta 2
Visual C#
LINQ and language samples for Visual Studio 2008 Beta 2
Once you install them you will find the ExpressionTree Visualizer and SqlServerQuery Visualizer under
..My Documents\Visual Studio Samples\LinqSamples\
ExpressionTreeVisualizer\ExpressionTreeVisualizer
..My Documents\Visual Studio Samples\LinqSamples
\QueryVisualizer\SqlServerQueryVisualizer
If you open the *.proj from these two folders and compile them you will get two dlls
Ø ExpressionTreeVisualizer.dll
Ø LinqToSqlQueryVisualizer.dll
Under bin\debug or bin\release folder depending on the type of build you select. Now copy both the dlls and drop them to the folder located under My Documents
..My Documents\Visual Studio 2008\Visualizers
Once it is there, and you are in the debug mode inside your visual studio 2008 these two options will come respectively.
View of LinqToSqlQuery Viauslizer
Now click on the "Linq to SQL Debugger Visualizer" button,
View of ExpressionTree Viauslizer
Now click on the "Expression Tree Visualizer" button,
Namoskar!!!
PingBack from http://www.artofbam.com/wordpress/?p=5488
Visualizers aggiuntivi per LINQ
Welcome to the thirty-fifth edition of Community Convergence. This week we have an interview with C#
Hi . I tried with the visualizer using VS 2008 Pro. It didn't work.
Here is the code sample I tried with
String[] sc = { "apple", "pie", "mango" };
var s = from str in sc
where str.Contains("a")
select str;
Hi,
If you want to visualize Linq to Entity (EDMX), try the free visualizer at http://www.rajavenkatesh.com/projects
Regards
RV
Sorry if that link did not work. The correct one is http://www.rajavenkatesh.com/projects.aspx