I want to add a Restrictions.Eq with a TSQL replace surrounding the column name. How would I do that?
string location = "Columbus OH";
var requestQuery = Session.CreateCriteria<Request>();
requestQuery.Add(Restrictions.Eq("Replace(LocationName,',','')", location);