In plain old SQL, I can do something like this:
select * from mytable COLLATE Latin1_General_CS_AS
Is there a way to specify the type of collati
Germán Schuager has managed to specify collation at run time. Take a look here.
var user = session.CreateCriteria(typeof (User)) .Add(Expression.Sql("Username like ? collate Modern_Spanish_CS_AS", username, NHibernateUtil.String)) .UniqueResult();