LINQ to SQL visualizer for VS 2010?

╄→尐↘猪︶ㄣ 提交于 2019-12-20 12:23:32

问题


I am trying to find a LINQ to SQL visualizer for Visual Studio 2010.

Anybody know of one somewhere?

When i was using vs 2008 i used this one.

But with vs 2010 it does not work.

I tried this one, but it didn't work either!

Is there a visual studio 2010 visualizer for Linq to SQL ?? thanks

The tools must be integrated in vs 2010.


回答1:


After research i found this article and they talk we need to recompile the linq-to-sql visualizer with vs 2010 dll reference, and it's working very nicely.

So there is the solutions

Moreover while this meta language can express things more concisely, I guess they’ll be a range of scenarios where I’ll prefer to keep using C# 2008 Samples Expression Tree Visualizer (Expression Tree visualization through a Windows Form Tree) or Manuel Abadia Linq Expression Debugger Visualizer (Expression tree visualization through a graph). I noticed that both these addin doesn’t work as-is on VS 2010 and the trick I wanted to share here is that, to use them under VS 2010, you just need to recompile them by referencing the VS 2010 assembly Microsoft.VisualStudio.DebuggerVisualizers.dll (found in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.VisualStudio.DebuggerVisualizers.dll) instead of the VS 2008 assembly with the same name. This works like a charm with the C# 2008 Samples Expression Tree Visualize used in VS 2010 on .NET 4 and .NET 3.5 projects. I expect the same good result with the Manuel Abadia piece of code (but source code is not available here so I couldn’t recompile, Manuel can you do that?).




回答2:


Have you tried LINQpad?



来源:https://stackoverflow.com/questions/4759995/linq-to-sql-visualizer-for-vs-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!