Yes, this sounds like a reasonable approach.
2014-06-09 7:28 GMT+02:00 IvoD <[email protected]>: > Hello, > > I need to migrate my MDI app created in PowerBuilder (now Sybase) to C# > and NHibernate. In my old PB app I create one DB connection for the whole > app. In my new app I want to use another solution: > - I want to create ISessionFactory object in the main MDI frame > - I want to create ISession object in every main MDI sheet that is opened > directly from the MDI frame > - for subordinate MDI sheet (this is opened from main MDI sheet, not from > MDI frame) I want to share ISession with its main MDI sheet. > > Is this idea good? > > Thank you for all your suggestions. > > Best Regards > > IvoD > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
