Fabio means that if you feel fine with Linq2SQL and you find problems moving to NH then it may be better for you to stay in Linq.
But in general no one in this list feels that nhibernate is slow when building the session factory once and using a session-per-request strategy. Probably you are failing in doing it right. The snippet of code you sent isn't enough to understand how you are working with NH. Gustavo. 2010/8/19 osman nuri katib <[email protected]> > Fabio, Is this a solution:) > > 19 Ağustos 2010 14:02 tarihinde Fabio Maulo <[email protected]> yazdı: > > then don't converts your app. and keep on linq2sql >> >> On Thu, Aug 19, 2010 at 5:57 AM, osman nuri katib < >> [email protected]> wrote: >> >>> I'm converting a web application based LINQ to NHibernate.But >>> nhibernate is too slow. >>> How can I accelerate it. In aspx file I'm using like this: >>> >>> using(ISession session=NHibernateHelper.OpenSession()) >>> { >>> //code >>> } >>> >>> before run command I'm generating a session.Is this true? >>> help please? >>> >>> >>> -- >>> Osman Nuri KATİB >>> YTÜ >>> Bilgisayar Mühendisliği >>> >>> -- >>> 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]<nhusers%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/nhusers?hl=en. >>> >> >> >> >> -- >> 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]<nhusers%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/nhusers?hl=en. >> > > > > -- > Osman Nuri KATİB > YTÜ > Bilgisayar Mühendisliği > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
