Follow

Alternate DatabaseConnectionString Source

Avatar

Question

One of the engineers here asked me if it was possible to set up the SCORMEngine to get it’s databaseconnectionstring from a table instead of having it hard coded in the SCORMEngineSettings.config file? I guess he wants to make it dynamic if that is at all possible?

Answer

 

Absolutely.  If you are comfortable manipulating your "CompanyName"Integration."CompanyName"Integration.cs class (using .net vocabulary), you can over the GetConnectionString method to function however you see fit.  By default, it simply pulls that value from the ScormEngineSettings.config file, but it can be configured to be far more extravagant.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk