InG - the general equivalent of In (for collections)
The signature of the methods is as follows (only ICollection In overload is displayed):
In(string propertyName, ICollection values)
vs.
InG<T>(string propertyName, ICollection<T> values)
Looking at the source code of NHibernate (trunk), it seems that they are copying the collection into an array of objects and will use this in the future, so I don't think there is a difference in performance between them.
I personally just use In in most cases - it's easier to read.
source share