会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
明月照归
博客园
首页
新随笔
联系
订阅
管理
2019年6月7日
Entity Framework Core 设置索引
摘要: specify an index over more than one column:
阅读全文
posted @ 2019-06-07 00:22 明月照归
阅读(1423)
评论(0)
推荐(0)
2018年11月4日
独立部署asp.net core 2.1 Web应用程序
摘要: 1.创建asp.net core 2.0 Web应用程序 添加引用: Microsoft.EntityFrameworkCore.Sqlite Microsoft.EntityFrameworkCore.Sqlite.Design 2.配置Sqlite数据库 修改Startup.cs文件:servi
阅读全文
posted @ 2018-11-04 10:25 明月照归
阅读(1028)
评论(0)
推荐(0)
删除所有约束、表、视图等SQL脚本
摘要: --删除所有约束、表、视图等SQL脚本 --############################################### --删除所有外键约束 --############################################### DECLARE @SQL VARCHAR(99) DECLARE CUR_CONSTRAINT CURSOR LOCAL FOR SEL...
阅读全文
posted @ 2018-11-04 10:22 明月照归
阅读(285)
评论(0)
推荐(0)
ASP.NET Core MVC/WebAPi 模型绑定
摘要: 1 public class Person 2 { 3 public string Name { get; set; } 4 public string Address { get; set; } 5 public int Age { get; set; } 6 } 1 $("#btnJson").on("cli...
阅读全文
posted @ 2018-11-04 10:20 明月照归
阅读(278)
评论(0)
推荐(0)
修改Azure Website默认时区
摘要: Azure Website默认时区为国际标准时间,对中国用户来说不太方便友好,如何设置成北京时间呢? 打开Azure Website的“配置”页,找到“应用设置”节点。 在应用设置中添加设置项,密钥为“WEBSITE_TIME_ZONE”,值为时区ID,比如北京时间为“China Standard
阅读全文
posted @ 2018-11-04 10:17 明月照归
阅读(312)
评论(0)
推荐(0)
公告