if you really need to get 1k entities at once, are you able to perform ado.net query (outside NH) much faster than with NHibernate ? I don't think fetching 1k entities with NH makes so much difference against fetching 1k entities with 'plain' ado.net
2009/6/13 antoschka <[email protected]>: > > Hi, > > I currently retrieve all entities of type using a repository method > which contain: > session.CreateCriteria(typeof(T)) > > for 1000 entities of type T it takes over 1,5 seconds. Which is > considered too much. > > Is there another way of retrieving all entities of certain type > > Thanks in advance for your help > > antoschka > > > -- Jozef --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
