Did you read the documentation article? You have two possibilities:
Declaring multiple configs with baseclasses. You can then simply use ActiveRecordMediator<MyAltenativeDBClass>.Save(entity); You could even use ActiveRecordMediator.Save(entity); AR determines the required SessionFactory by querying entity's type. Using DifferentDatabaseScope when you need to change the connection while using the same SessionFactory. -Markus 2008/11/21 Ricardo Borges <[EMAIL PROTECTED]> > > Hi, > > How can we use ActiveRecordMediator<T> for multiple databases > (multiple session factories) ? > > thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---