Hi i'm sure this is a common question but i just want to be sure of my options here.
Where should i put the SessionFactory object? Should i make it a singleton?? a static object Should i put in the the basemodel class (as static object) Should i put it in the App.cs class as singleton and access it using the Application.Current to access it?? Any better idea? thx for helping Also, when should i create / close a session?? Every time i make a transaction?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
