Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Setup the framework for a Model-View-Controller web application. Create Models for Customer, Item, SalesOrder, and Lineltem. Set the proper data annotations where necessary. Customer Attribute

image text in transcribed
image text in transcribed
Setup the framework for a Model-View-Controller web application. Create Models for "Customer", "Item", "SalesOrder", and "Lineltem". Set the proper data annotations where necessary. Customer Attribute Type Customer ID int First Name string (50) Last Name string (50) Name Address 1 string (50) Address 2 string (50) City State Zip Code string (5) Email USA Phone string Total Sales decimal Sales Orders List of Sales Orders Public Read /Private Write Access Read /Write Read / Write Read /Write Read only (First Name Last Name) Read/Write Read /Write Read /Write Read /write Read /Write Read /Write Read/Write Read (Sum of Sales Orders Order Total) string (30) string (2) tring Item Attribute Type tem ID int Name string (50) Read /write Description string (100) Read/Writse Retail Price decimal Line Items List of Line Items Public Read Private Write Access Read / Write Read / Write Sales Order Attribute Sales Order Number int Customer ID Customer Order Date Order Total Line Items Type int Customer DateTime decimal List of Line items Public Read Private Write Access Read /Write Read / Write Read / Write Read / Write Read only (Sum of Line Item Totals Line Item Type Access Attribute Line Item ID (PK) int Sales Order Number int Sales Order Read / Write Read / Write Sales Order Read/ Write Setup the framework for a Model-View-Controller web application. Create Models for "Customer", "Item", "SalesOrder", and "Lineltem". Set the proper data annotations where necessary. Customer Attribute Type Customer ID int First Name string (50) Last Name string (50) Name Address 1 string (50) Address 2 string (50) City State Zip Code string (5) Email USA Phone string Total Sales decimal Sales Orders List of Sales Orders Public Read /Private Write Access Read /Write Read / Write Read /Write Read only (First Name Last Name) Read/Write Read /Write Read /Write Read /write Read /Write Read /Write Read/Write Read (Sum of Sales Orders Order Total) string (30) string (2) tring Item Attribute Type tem ID int Name string (50) Read /write Description string (100) Read/Writse Retail Price decimal Line Items List of Line Items Public Read Private Write Access Read / Write Read / Write Sales Order Attribute Sales Order Number int Customer ID Customer Order Date Order Total Line Items Type int Customer DateTime decimal List of Line items Public Read Private Write Access Read /Write Read / Write Read / Write Read / Write Read only (Sum of Line Item Totals Line Item Type Access Attribute Line Item ID (PK) int Sales Order Number int Sales Order Read / Write Read / Write Sales Order Read/ Write

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions