Resharper 5.0 Outgoing calls analysis: Example from NHibernate

13 Aug 2010 in dotnet | libs-and-frameworks |

The following is a screenshot when you start off from NHibernate’s default OnLoad listener (called e.g. when you say session.Load<Cat>(23)).

NhibernateLoadEntity

I’ve cut out other outgoing calls to show you the level of abstraction between loading an Entity and hitting the ExecuteReader() method of ADO.NET’s low-level API.

You can access this functionality in Resharper 5 by pressing Ctrl+Alt+Shift+A, giving you a small menu to show you the type hierarchy, incoming and outgoing calls. A nice tool to find your way around an unfamiliar codebase.

Shout it

Chronology

  |  
comments powered by Disqus