Skip to content

SchlexanderOlz/InternalInstalledBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InternalInstalledBase

TODO's

The project is currently missing the linking between the Product and Property page. The Product page still requires a field named "Show Properties" or similar, which will open a window in which the user can link the product to an existing property. The user also will have to enter which properties shall be choosen from the existing Options. On the Property there is a isMultipleChoice field which should be checked because it decides if a user can only select one field or multiple. When creating the first user, the password should be hidden and checked through another box where the user would have to type the same password.

You can look at the implementation of the Customer page to find out how the linking of the Property and the Product page should look like. Basically the code will guide you throuh all commands etc. needed for the page.

There are also some smaller thing to do, like f.e. that when creating a User this user has to change his password on the next logon. Changes are also missing -> Every time a user changes the database contents (e.g. Insert, Delete) an entry which says what has changed should be added to the database. This is best connected with the Session table (like definied in the ORM objects)

Everything else should be correctly implemented.

Setup

To run the programm a database connection is required to a MySQL server.

f.e. create a docker-container

docker pull mysql:latest

docker run --name IIB -p 7400:3306 -e MYSQL_ROOT_PASSWORD=yourRootPassword -e MYSQL_DATABASE=IIB -e MYSQL_USER=user -e MYSQL_PASSWORD=yourPassword -d mysql:latest

The config should then be put in src/DapperExtension/dbconfig.yml Note The file is only in this directoy because the project isnt finished. When compiling to a binary the dbconfig should be in the same directory as the binary.

For the recently created docker-container the config will look like the following:

server: localhost
port: 7400
database: IIB
user: user
password: yourPassword 

Note The dbconfig.yml is loaded relatively to the src/WpfApplication directory because the application assumes it is started with dotnet run in this directory. When refractoring or compiling this into an executable this should be respected.

Run the application

The application is started with dotnet run inside of the src/WpfApplication directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages