The LINQ to NHibernate driver is centered on the IQueryable<T> interface.
IQueryable<T>
Be sure to add using NHibernate.Linq; in order to use the NHibernate LINQ provider.
using NHibernate.Linq;
IQueryable<Cat> cats = session.Query<Cat>() .Where(c => c.Name == "Max");
Topic Id: 3544
Example Ids: 12218
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service