Programattic Configuration

Feb 3, 2008 at 10:04 PM
I'm trying to componentize my stuff a bit, and at the same time I'm trying out DBEntry (wow, it creates tables too? sweet!). Anyhoo, one bit that I wish was there was a way to set the configuration programatically rather than only using the config file. Since I can use Windsor to load and pass configuration to my DB component, it would keep the app largely ignorant of exactly how all that great data is getting to it.


Feb 17, 2008 at 3:22 AM
I wasn't use Windsor before.
But if you want to config DB with code, the tools SqlQuerier will be a sample. It's complex but works.
The source code of SqlQuerier could be downloaded by release v0.24: