Can't test it right now but getting the configured connection string is something like
ActiveRecordMediator.GetSessionFactoryHolder().GetConfiguration(typeof (object)).GetProperty(Environment.ConnectionString) On Jun 19, 1:59 pm, Neil <nidge1...@gmail.com> wrote: > Hello, > > We are just starting to make use of ActiveRecord within an existing > system and I was looking for a way to either programatically set or > get the connection string from the interface returned by > ActiveRecordSectionHandler.Instance > > Currently we have two different connection strings within our > web.config and I would rather there was only one in case we forget to > update them both. > > Thanks > > Neil --~--~---------~--~----~------------~-------~--~----~ 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 castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---