How do i implement the following statement in NHibernate iCriteria
Select * From LECNNy where Left(Address,4)='test'
It has to be something like
Projections.SqlFunction("left"("Address"),
But how do i pass the number of chars and the var ?
Some further research gave the following answer :