O Using the Customer database (Customer Database has one table Customer), Create Class Library Project (Please note use project for creating C# class library) that Handles the CRUD Operation of Customers Project Create Class Library Project should contain the following BussinessObject O O O ■ Customer Class DataAccessLayer BussinessLogic Layer Properties of Customers Class should match the columns of Customers Table. ■ Insert Customer Insert Stored Procedure Update Customer ■ Delete Customer Update Stored Procedure Delete Stored Procedure Select Customer By customerld Select Customer By customerld Select All Customer Select All Customers ● DBHelper Class Add Customer Update Customer Delete Customer Select Customer By customerld Select All Customer Customer BussinessLogic DataAccessLayer DBHelper Customer Id FirstName MiddleName LastName Street City State Zip Add Update Delete GetCustomer GetAllCustomers Add Update Delete GetCustomer GetAllCustomer

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
### Using the Customer Database

#### Objective
Create a Class Library Project using the Customer database (which contains a single table named Customer) to handle CRUD operations within a Customer Project.

#### Project Requirements
The Class Library Project should include the following layers and components:

### Business Object
- **Customer Class**
  - The properties of the Customer class should align with the columns in the Customer table.

### Data Access Layer
- **Functions:**
  - **Insert Customer**
    - Implement an Insert Stored Procedure.
  - **Update Customer**
    - Implement an Update Stored Procedure.
  - **Delete Customer**
    - Implement a Delete Stored Procedure.
  - **Select Customer by CustomerId**
    - Access customer data using their CustomerId.
  - **Select All Customers**
    - Retrieve data for all customers.
- **DBHelper Class**

### Business Logic Layer
- **Operations:**
  - **Add Customer**
  - **Update Customer**
  - **Delete Customer**
  - **Select Customer by CustomerId**
  - **Select All Customers**

### Diagram Explanation

1. **Customer Table Schema**
   - Columns: `CustomerId`, `FirstName`, `MiddleName`, `LastName`, `Street`, `City`, `State`, `Zip`.

2. **BussinessLogic Layer (Blue Box)**
   - Contains methods such as Add, Update, Delete, GetCustomer, and GetAllCustomers.

3. **Data Access Layer (Orange Box)**
   - Contains actionable methods: Add, Update, Delete, GetCustomer, and GetAllCustomers directly interacting with the database.

4. **DBHelper (Gray Box)**
   - Supports Data Access Layer operations by providing database connection and execution functions.

This setup ensures structured development and maintenance of CRUD operations for customer data handling.
Transcribed Image Text:### Using the Customer Database #### Objective Create a Class Library Project using the Customer database (which contains a single table named Customer) to handle CRUD operations within a Customer Project. #### Project Requirements The Class Library Project should include the following layers and components: ### Business Object - **Customer Class** - The properties of the Customer class should align with the columns in the Customer table. ### Data Access Layer - **Functions:** - **Insert Customer** - Implement an Insert Stored Procedure. - **Update Customer** - Implement an Update Stored Procedure. - **Delete Customer** - Implement a Delete Stored Procedure. - **Select Customer by CustomerId** - Access customer data using their CustomerId. - **Select All Customers** - Retrieve data for all customers. - **DBHelper Class** ### Business Logic Layer - **Operations:** - **Add Customer** - **Update Customer** - **Delete Customer** - **Select Customer by CustomerId** - **Select All Customers** ### Diagram Explanation 1. **Customer Table Schema** - Columns: `CustomerId`, `FirstName`, `MiddleName`, `LastName`, `Street`, `City`, `State`, `Zip`. 2. **BussinessLogic Layer (Blue Box)** - Contains methods such as Add, Update, Delete, GetCustomer, and GetAllCustomers. 3. **Data Access Layer (Orange Box)** - Contains actionable methods: Add, Update, Delete, GetCustomer, and GetAllCustomers directly interacting with the database. 4. **DBHelper (Gray Box)** - Supports Data Access Layer operations by providing database connection and execution functions. This setup ensures structured development and maintenance of CRUD operations for customer data handling.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education