-
Notifications
You must be signed in to change notification settings - Fork 0
Database Service
Alex van den Berg edited this page Feb 25, 2022
·
1 revision
The framework has a build-in database service, for connecting to databases. Currently we only support Mysql database connection but in the future we will also add Microsoft SQL support.
To be able to use the database connection service you must first specify a connectionstring in the application configuration file, and you must bind the configuration file to the framework bootloader. After to above steps have been taken you can create a new instance of the database connection service.
Bellow you find a overview of the functions available in the database connection service
Name | Description |
---|---|
ClearParameters | Clears all added parameters |
AddParameter | Adds a new parameter that can be used in queries |
GetDataset | Executes a specified query and returns the result as a dataset |
Execute | Executes a specified query |