Hi,
We are developing an application in C# which uses local and central databases in offline and online mode respectively. We are using NHibernate, and there is a synchronization process between the central db and local db. All operations related to the central db are exposed as webservices (client requirement). Moreover the authentication is done using the users oracle account(client requirement). so everytime i need to send the username, password and related parameters to each webservice. Will the sessionfactory will be created for every webservice call or how it will behave.... can anyone suggest me a best approach in this case...... also pls let me know where to look for the architecture of the session factory...... also is it possible for me to load only a subset of the mappings defined in the application assembly....based upon the scenarios....
|