Banking application project

C# - entity framework - .NET

Project structure

This project use Entity Framework to access the SQL database. The project use Code First method, because we don't use an already existing big database.  Any changes in code, will need a migration update. 

The database connection is made by this part of the code.  We have a Post class, where we can add members, by the constructor. 

There is also an important thing, we have to override the toString method, to print an element correctly, and legibly.

Here is the database structure:

For the GUI, I used the WindowsForms.

The features are the follows :

  1. Registration

    You can add:

    1. username(email substitute)
    2. First and Last name
    3. password(checks that if the password entered twice matches)
    4. select birthday
    5. (Also, the registration date is saved automatically)

    With the submit button, the program will add the user data to the database

  2. Login page

    Here, you can type your username, and password. But also access the registration.  The mute button can turn off the background music.

  3. Customer page functions

    You can add money into your bank account

    You can also take out your money

    If you no longer want to be a customer, you can delete your account. The program will erase the user from the database

  4. Admin page

    If you type as username 'ADMIN' and password '1', you will access the admin mode, where you can monitor and manage the users.