Question: Create a database called inventory in MSSQL server ( Local SQL ) , and create a table called product with the following attributes - id

Create a database called inventory in MSSQL server (Local SQL), and create a table called
product with the following attributes- id, name, price, unitsInStock. Select appropriate attribute
type. Insert at least 10 records in it. NOTE: you must submit the SQL code you used to create the
table and data for this assignment.
Create a Blazor Server Web Application meeting the following requirements-
a. Connect to the inventory database from Visual Studio
b. Install Entity Framework Core SqlSever and Tools packages.
c. Using database Scaffold command to create the Model and DbContext files
i. Example: Scaffold-DbContext "Data Source=DESKTOP-JTBAQ5T
MSSQLSERCSCI4405;Initial Catalog=sample;Integrated Security=True;
TrustServerCertificate=True " Microsoft.EntityFrameworkCore.SqIServer -
OutputDir Models -Tables employee
d. Add a nav menu called Products and connect to page called ProductInfo(Razor
component)
e. Display all the product information in the Products pages.
Create a database called inventory in MSSQL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!