New Version of NHibernate Query Generator

time to read 2 min | 201 words

After using it for a couple of days, I made the following improvements:

  • Added Eq() and IdIs() to many-to-one references, so now I can issue this statement:
    ICollection<Order> orders = Repository<Order>.FindAll( Where.Order.Customer.IdIs(15) );
    It seems like we are using this quite a bit in our applications, mainly from query strings.
  • Added support for VB.Net
  • Create a VS.Net Custom Tool, so now you wouldn't have to mess with the command line, just specify "NHibernateQueryGenerator" as the custom tool, and you are done.
  • Create an MSI installer for it, so it is really close to zero friction now.

You can get it here.