In the NHiberante, I have this statement
(from p in Session.Query<MyObject>() select p).Count();
is this equal to this ?
select count(*) from MyObject
assume object name is same as table name .
If the table data is huge, do we have a way to improve performance ?
thanks