-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Squil11ams edited this page Nov 10, 2022
·
1 revision
There are 2 ways to handle the configuration of the connection string.
1st is you can manually call QueryEngine.SetConfiguration(string);
This could be setup with a wrapper within your code to populate the the config data.
2nd you can use the app config.
Just put the connection string in plain text into the App.Config AppSettings
And after the 1st call to the database the application will automatically encrypt the connection string.
This encryption is machine specific so you can't copy this string between machines.
This method is intended for server side applications like a WCF or API service.