I have this query
var temp = from x in ActiveRecordLinq.AsQueryable<Circuits>()
where x.User_Created == false
orderby x.Description
select x;
From NHibernate Profiler
Query duration
-Database only: 7ms
-Total: 835ms
The query generated:
SELECT this_.Circuit_ID as Circuit1_35_0_,
this_.[Description] as column2_35_0_,
this_.[User_Created] as column3_35_0_
FROM dbo.Circuit this_
WHERE this_.[User_Created] = 0 /* @p0 */
ORDER BY this_.[Description] asc
It seems like a pretty straightforward query. It returns 6821 rows. All I'm using this for is to populate a dropdownlist.
Thanks in advance