【文件属性】:
文件名称:Model-View-Lab1
文件大小:1.83MB
文件格式:ZIP
更新时间:2021-04-17 20:02:07
JavaScript
宠物美容
更新现有的回购步骤
删除迁移文件夹的内容(如果您修改了数据库)
运行SQL命令(转到SQL Server> mssqllocaldb> pet修饰上下文(右键单击)>运行查询)
运行查询“截断表宠物”;
使用git cmd运行git pull origin master
工具> Nuget软件包管理器>软件包管理器控制台
运行命令“ update-database”
克隆新的回购步骤
使用git cmd克隆存储库
创建“ App_Data”文件夹
右键单击项目“ Build”-> 1成功
在程序包管理器控制台中运行“启用迁移”
在程序包管理器控制台中运行“ Add-Migration initial”
运行“更新数据库”
导航到View / Pet / List.cshtml
运行List.cshtml并单击“是”以进行SSL自签名提示
应该只显示没有数据的宠物列
【文件预览】:
Model-View-Lab1-master
----PetGrooming()
--------Models()
--------packages.config(1KB)
--------Web.config(4KB)
--------Migrations()
--------Web.Debug.config(1KB)
--------Controllers()
--------fonts()
--------App_Start()
--------Web.Release.config(1KB)
--------PetGrooming.csproj(15KB)
--------Wireframes()
--------Global.asax.cs(572B)
--------Global.asax(102B)
--------Scripts()
--------Views()
--------Content()
--------favicon.ico(31KB)
--------Properties()
--------Data()
----.gitignore(6KB)
----PetGrooming.sln(1KB)
----README.md(880B)
----.gitattributes(2KB)