
Core 2.0
MC敲代码
大家好我是MC敲代码,一首增删改查送给大家,希望大家能够喜欢!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
entity framework core生成数据库
打开cmd 导航到项目所在根目录dotnet ef migrations add Initial 建立并初始化数据库 dotnet ef database update 更新数据库dotnet ef migrations add xxxx 更新模型字段后需要执行此命令通知vs重新编译表变动 xxxx为变更的任意字段名 一个就够 系统会自动追加变更添加的其...转载 2018-04-26 14:40:03 · 576 阅读 · 0 评论 -
EF Core
使用EFCore需要引用原创 2018-05-11 11:39:54 · 424 阅读 · 0 评论 -
asp.net core设置跨域
public void ConfigureServices(IServiceCollection services) { var urls = AppConfigurtaionServices.Configuration.GetSection("Cors")["default"].Split(','); services.AddCors(options...原创 2018-05-23 14:04:51 · 1683 阅读 · 1 评论