MVVM application with WPF and Entity Framework 6. Coursework for University : 'Flight Booking Application'. Database-First Approach (EF).
- Display of tariff data
- Display of ticket data
- Display of cashier data
- Display of flight data
- Display of passenger data
- Create new ticket data
- Changing and creating data about the passenger
- Changing and creating data about the cashier
- Download this zip and extract it to desired location.
- Run 'AirlineTicketOffice.sln' using Visual Studio (internet connection required - for installation 'MVVM Light Toolkit ' and 'Entity Framwork').
- In 'AirlineTicketOffice.Main' project - open file Create the db with t-sql.
- In this file on line 21 and 23, replace the path 'FILENAME' to desired (Sample: FILENAME=N'D:\AirlineTicketOffice.mdf'). Can not change the name ('AirlineTicketOffice.mdf' and 'AirlineTicketOffice_log.ldf') of the database. If path on the disk 'C:' - need to run VS with administrator rights.
- Create database: run 'AirlineTicketOffice_Create_T-SQL_DB.sql' in 'new query' via SSMS sql server or VS.
- By default, connectionString="data source=(localdb)\MSSQLLocalDB;...". If need - replace 'source' to required in app.config (AirlineTicketOffice.Main project).