If you can retrieve the same object graph using pure ADO.NET faster than NH you have found the way.
2009/6/9 antoschka <[email protected]> > > Hi, > > I have a table with about 1000 entries. > > I retrieve them with > ICriteria criteria = session.CreateCriteria(typeof<CertainType>); > IList<CertainType> result = criteria.List<CertainType>; > > it takes about 1,5 seconds on MSSQL2008, which is too much. > > Is there a way to retrieve it faster??? > > Thanks > > antoschka > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
