This is a migrated thread and some comments may be shown as answers.

Setting database connection at runtime

1 Answer 72 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
IT
Top achievements
Rank 1
IT asked on 26 Mar 2009, 09:40 PM
Is there a way to set the database connection at runtime instead of in the app config.   When we sell our software, we also provide the database, but we don't have control of the servername that the database is installed on.  Typically we store the name of the database server in the registry, and set up the database connections when the application starts up.

1 Answer, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 27 Mar 2009, 09:10 AM
Hello Troy,
You can find an example about that in the following documentation topic here:
http://www.telerik.com/help/openaccess-orm/support-for-dynamically-loaded-assemblies.html
Please tell us  whether this works for you.

Greetings,
Dimitar Kapitanov
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Development (API, general questions)
Asked by
IT
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Share this question
or