Can we set mapping rules in separate file? I think it is not good style to hold them in app.config.
1 Answer, 1 is accepted
answered on 12 Nov 2008, 02:03 PM
The Database.Get() call can get an xml node which is used instead of the app.config file. Just have it where you want and pass it to the call.
Our wizards uses the file that is specified in the project properties.
If you have the persistent classes in a class library, the app.config file is embedded into the assembly and not longer visible. In that case the style is OK. Only the executable config file might be without an OpenAccess node. But at the end we need only one reference entry there that points to the DAL assembly where you can keep all other settings internal.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.