Archives for: "April 2011, 05"
Getting Row Count in NHibernate
Getting the row count of a table, that is easy in NHibernate. You can do it this way: CodeICriteria criteria = CurrentSession.CreateCriteria<Member>();criteria.Add(Expression.Eq("Code",code)); return… more »