Accounting of material and financial resources of a private enterprise for the production of chocolate products.
The project was developed as part of the academic year on the subject of DBMS in the third year of the 2nd semester of the first module
.
This graphical application was developed on Windows Forms
in the C# programming language
After implementing this work, I used various technologies, such as the C# programming language
, raw SQL queries
, Microsoft SQL Server
.
In the database, I used objects such as tables
, triggers
, stored procedures
.
- Clone the repository:
$ git clone https://github.com/Nurlis03/Chocolate-Production.git
- Configuring the database:
- Open the
database_files
folder, import thePPO3-2-version.bak
, orPPO3-2-version.bacpac
one of them in Microsoft SQL Server Management Studio. - Open SQL Server Configuration Manager and follow these steps:
- Enable TCP/IP protocol.
- Set the port for TCP/IP protocol (port 1433 is usually used).
- configure connection string to your database:
- Find Settings.Designer.cs which is located at
Chocolate-Production\Chocolate_production_version 2\Properties\Settings.Designer.cs
- Set value of connection string
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=YourHost;Initial Catalog=YourDatabase;Integrated Security=True")]
- Find App.config which is located at
Chocolate-Production\Chocolate_production_version2\App.config
- Set value of connection string
<connectionStrings> <add name="Chocolate_production_version2.Properties.Settings.PPO3_2_versionConnectionString" connectionString="Data Source=YourHost;Initial Catalog=YourDatabase;Integrated Security=True" providerName="System.Data.SqlClient" /> <add name="Entities" connectionString="metadata=res://*/employee_model.csdl|res://*/employee_model.ssdl|res://*/employee_model.msl;provider=System.Data.SqlClient;provider connection string="data source=YourHost;initial catalog=YourDatabase;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> </connectionStrings>
- Find Settings.Designer.cs which is located at
- CRUD operations of 7 tables(Budget, Employee, Finished_products, Ingredients, Positions, Raw_material, Units)
- Purchase of raw materials
- Produce products
- Sale of products
- Showing the ingredients of the selected product
- Issuing salaries to employees
------------------------------Kimbiletov Nurlis Muratovich-----------------------------