How would you do this
Select *
from Personnel p
where p.LastName + ', ' + p.FirstName + ' ' + p.MiddleInitial LIKE @Employee + '%'
using NHibernate (3.0)? So far, I've tried
personnel.QueryOver<Personnel>()
.WhereRestrictionOn( x => x.LastName + ', ' + x.FirstName + ' ' + x.MiddleInitial)
.IsLike(employeeName, MatchMode.Start)
to no avail.