The company has asked you to build a prototype of an n-tier system using the Northwind database as an example. The company wants to be able to add, edit, and delete records from the customers, orders, order details, products, categories, and suppliers tables.
Part 1:
- Create the Data Access tier and Data tier projects:
- Create a class library project for the Data tier.
- Add a new class library project the project created in Step 1 for the data access tier.
- Add a typed DataSet using a new data source that connects to the Northwind sample database.
- Select the database objects (customers, orders, order details, products, categories, and suppliers) tables.
- Make sure the TableAdapters are stored in the Data Access tier and the DataSet class is added to the Data tier.
- Make sure that separate tiers are created for each layer by verifying that separate class libraries were created and the necessary references to the project were added.
Part 2:
Using the project you started in Part 1, verify the business logic layer (middle tier) is working correctly and make the connection to the database, implementing the logic in the data layer provided to manipulate the data stored in the database portion of the n-tier system.
- Add the following to Part 1:
- Add a new Windows Communication Foundation (WCF) service library project to the Phase 2 individual project to communicate with the Data Access tier.
- Add the necessary queries and methods to the table adapters that will return, add, edit, and delete the data from the tables specified in Phase 2.
- Add references in the Data Service to the Data tier and Data Access tier projects.
- Add methods to the Data Service class created in Step 1 that will call into the Data Access tier.
- Make sure that separate tiers are created for each layer by verifying that separate class libraries were created and the necessary references to the project were added.
*You may just create your own databases with sames tables and sample data. Doing this will save you from a number of versioning compatibility issues*
*Please make sure you separate part 1 and part 2*
*This should be submitted as a Windows Form Application Project and all other necessary files*


0 comments