Windows application developed to manage inventory and orders for a fictional company supplying computer science books to universities. Built with Microsoft Visual Studio 2022, using C# and SQL Server 2019. The application leverages ADO.NET for both connected and disconnected database operations and implements Entity Framework for order management and secure user authentication via username and password.
- Developed using Microsoft Visual Studio 2022, C#, and SQL Server 2022/2019.
- Utilizes ADO.NET for database programming (both connected and disconnected modes).
- Implements the Entity Framework for managing orders.
- Secure login with username and password authentication.
-
MIS Manager (Henry Brown)
- Add, update, delete, search, and list user information
- Add, update, delete, search, and list employee information
-
Sales Manager (Thomas Moore)
- Add, update, delete, search, and list customer information
-
Inventory Controller (Peter Wang)
- Add, update, delete, search, and list book information and related information
-
Order Clerks (Mary Brown, Jennifer Bouchard)
- Add, update, cancel, search, and list customer orders
- Books must have ISBN, Title, UnitPrice, YearPublished, and Quantity on Hand (QOH) fields.
- Books can have multiple authors and be published by one publisher.
- Authors have unique IDs, first name, last name, and email.
- Customers are colleges and universities with detailed information (name, address, phone, fax, credit limit).
- Orders can be taken via phone, fax, or email and payments are made by direct withdrawal.
- Clone the repository.
- Open the project in Microsoft Visual Studio 2022.
- Restore NuGet packages.
- Update the database connection string in the
app.config
file. - Create the database in SQL Server:
- Use the provided SQL script to create the database schema and populate initial data.
- Execute the script in SQL Server Management Studio (SSMS).
- Open SQL Server Management Studio (SSMS).
- Connect to your SQL Server instance.
- Open the SQL script file provided in the repository (
DatabaseSetup.sql
). - Execute the script to create the database and tables, and to insert initial data.
- Update the
app.config
file with your database connection string.
- Launch the application.
- Log in with the following credentials for testing:
- Username: paulaMiano
- Password: 0123
- Navigate through the various user roles and operations to manage books, customers, and orders.
Contributions are welcome! Please fork the repository and submit a pull request with detailed changes.