It is only possible with base entity inheritance. The base type is
associated to the database config...
<config type="Full Type name to Abstract Class that defines boundaries
for different database">
<add key="connection.driver_class" value="NHibernate Driver" />
http://www.castleproject.org/activerecord/documentation/trunk/advanced/accessingmoredbs.html
http://www.castleproject.org/activerecord/documentation/trunk/manual/xmlconfigref.html
2008/12/1 Gabriel Mancini de Campos <[EMAIL PROTECTED]>:
>
> Hi All,
>
> In my Screen "Login" i have a drop-down with some databases names.
> this db´s can be in separeted servers, but i can yours connections
> Strings, but
> when i login, i need to select how Data Base i will use.
> My question is:
> How can i connect to data base selected by the user?
> or how can i change the DB made a logoff and new login. using AR.
> All this DB´s have the same Structure. (or in less their hav to
> be).
>
>
> thank all
>
> sorry my english sux! :(
> Gabriel
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---