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 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: ScaffoldDbContext "Data SourceDESKTOPJTBAQT
MSSQLSERCSCI;Initial Catalogsample;Integrated SecurityTrue;
TrustServerCertificateTrue Microsoft.EntityFrameworkCore.SqIServer
OutputDir Models Tables employee
d Add a nav menu called Products and connect to page called ProductInfoRazor
component
e Display all the product information in the Products pages.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
