08 2018 档案
centos 命令学习
摘要:关机&重启 shutdown -h 10 #计算机将于10分钟后关闭,且会显示在登录用户的当前屏幕中 shutdown -h now #计算机会立刻关机 shutdown -h 22:22 #计算机会在这个时刻关机 shutdown -r now #计算机会立刻重启 shutdown -r +10
阅读全文
netcore sqlserver linq contains生成的sql语句不是使用like而是charIndex
摘要:在ef中使用linq调用了contains,结果怎么都查不到值,打开sqlserver profiler 发现生成的sql语句不是使用like。。。而是CharIndex 参考文档:https://stackoverflow.com/questions/47277630/how-to-do-a-li
阅读全文
netcore webapi 用户 'IIS APPPOOL\无托管代码' 登录失败
摘要:配置在iis上,除了环境配置错误的原因还有一种可能是连接字符串的问题,iis要求使用sql server的sa或者其他登录用户。 ps:连接字符串: "Default": "Server=localhost; Database=数据库; User ID=sa;Password=密码;"
阅读全文