I have the following Query which works for me:
IList<info> result =
QueryOver<info>()
.Where(row => row.Timestamp >= fromDate)
.And(row => row.Timestamp <= toDate)
.OrderBy(row => row.Timestamp).Asc
.Skip(startRow).Take(count).List();
I need to extends it by getting from a client an addition SQL query string and adding it to my query as follows:
IList<info> result =
QueryOver<info>()
.Where(row => row.Timestamp >= fromDate)
.And(queryString)
.And(row => row.Timestamp <= toDate)
.OrderBy(row => row.Timestamp).Asc
.Skip(startRow).Take(count).List();
string queryString = "AND name='haim' And number=1"
Is it possible to add QueryOver a dynamic query string?