I want to excute a query using nhibernate, but I want to add parameters as inline string without aliases, the following examples will explain what I mean.
Standard generated query:
SELECT * FROM Accounts WHERE AccountNumber in (@p0 , @p1 , @p2)
Intended query:
SELECT * FROM Accounts WHERE AccountNumber in ('0','1','2')
FYI: I'm using Orchard CMS