How do I install NHibernate Profiler?

Published by Charlie Davidson on

How do I install NHibernate Profiler?

You can easily install the NHibernate Profiler into your application from NuGet. Let’s go to the NuGet Manager console from the Tools menu by selecting the NuGet Package Manager → Package Manager Console. It will open the Package Manager Console window.

How to open NHibernate Profiler?

Right click on the UltraMon icon in the System Tray and choose option. On the Compatibility tab select Configure Settings. Select the NHibernate Profiler from the Running Applications list and press Next.

What is NHibernate Profiler?

NHibernate Profiler is a real-time visual debugger allowing a development team to gain valuable insight and perspective into their usage of NHibernate. Visual insight into the interaction between your database and application code. Analysis and detection of common pitfalls when using Nhibernate.

How do I get SQL query from NHibernate?

Capture NHibernate generated SQL Query real-time / at runtime

  1. Create a class to store the NHibernate generated SQL Query.
  2. Create an Interceptor class that implements the IInterceptor interface.
  3. Implement the OnPrepareStatement method and set the NHibernate generated SQL Query created in step 1.

What is addScalar in hibernate?

addScalar method specifies the result of the query to return objects for individual named columns, rather than entities.

Can poco have methods?

A POCO is your Business Object. It has data, validation, and any other business logic that you want to put in there. But there’s one thing a POCO does not have, and that’s what makes it a POCO. POCOs do not have persistence methods.

What Poco means?

plain old class object
In software engineering, a plain old CLR object, or plain old class object (POCO) is a simple object created in the . NET Common Language Runtime (CLR) that is unencumbered by inheritance or attributes.

Categories: Contributing