I am trying to build a simple query in nHibernate with QueryOver but I want it to convert everything lower-case or ignore sensitive:
Domain.User User = Sessi
NH 3.0 has a linq provider so you can use
Session.Query() .Where(x=>x.Login.ToLower() =="username") .SingleOrDefault();