VS 2010的LINQ to SQL可视化工具? [英] LINQ to SQL visualizer for VS 2010?
问题描述
我正在尝试为Visual Studio 2010找到LINQ to SQL可视化工具.
I am trying to find a LINQ to SQL visualizer for Visual Studio 2010.
有人在某个地方认识一个人吗?
Anybody know of one somewhere?
当我使用vs 2008时,我使用的是一个.
When i was using vs 2008 i used this one.
但是在vs 2010中,它不起作用.
But with vs 2010 it does not work.
我尝试了这个一个,但是它也不起作用!
I tried this one, but it didn't work either!
是否存在用于Linq to SQL的visual studio 2010可视化工具?谢谢
Is there a visual studio 2010 visualizer for Linq to SQL ?? thanks
这些工具必须与2010年集成.
The tools must be integrated in vs 2010.
推荐答案
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.
所以有解决办法
此外,尽管这种元语言可以更简洁地表达事物,但我想它们将是我更愿意继续使用C# 2008示例表达式树可视化器(通过Windows窗体树可视化表达式树)或
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?).
这篇关于VS 2010的LINQ to SQL可视化工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!