上一页 1 2 3 4 5 6 7 ··· 29 下一页
摘要: 有可能是: 可能是因为你的EntityModel中字段类型与数据表中字段的类型不一致引起的。 例如:Db(A某字段为Number类型) Entity(A某字段为string类型) 那么就会报错:System.InvalidCastException:“Specified cast is not va 阅读全文
posted @ 2021-08-19 14:54 lunawzh 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 转 https://www.cnblogs.com/luna-hehe/p/9146142.html 阅读全文
posted @ 2021-08-17 21:53 lunawzh 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 转: https://www.cnblogs.com/mq0036/p/9400268.html 阅读全文
posted @ 2021-08-17 20:38 lunawzh 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 使用DI读取配置,读取时声明类型有IOptions<T>、IOptionsMonitor<T>、IOtionsSnapshot<T>类型,推荐使用最后一种。 要读取的配置文件 jsconfig.json 如下,把属性改成始终复制。 { "Name": "wzh", "addr": "beijing" 阅读全文
posted @ 2021-08-10 13:36 lunawzh 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 错误: System.AggregateException:“Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.Ext 阅读全文
posted @ 2021-08-06 21:25 lunawzh 阅读(4385) 评论(0) 推荐(0) 编辑
摘要: 网页中三角制作 width: 0; height: 0; border-color: transparent white transparent transparent; border-style: solid; border-width: 50px 10px 0 0 ; 或 width: 0; h 阅读全文
posted @ 2021-07-28 15:37 lunawzh 阅读(41) 评论(0) 推荐(0) 编辑
摘要: <p> 我们是冠军!中国女子赛艇四朵金花再次绽放浪花之中!十三年的期盼,十三年的传承,金牌再次属于中国女子四人双桨团队 </p> 1、单选 p { white-space: nowrap; overflow : hidden; text-overflow: ellipsis; } 2、多行 p { 阅读全文
posted @ 2021-07-28 13:49 lunawzh 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 比如: 方法 public static IQueryable<Teacher> GetData() { using(var db=new MyDbCotext()) { return db.Teachers.Include(x => x.Students); } } 调用此方法 var list 阅读全文
posted @ 2021-07-15 16:56 lunawzh 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 把当前目录下的WzhTest.dll文件拷贝到窗口 docker cp ./WzhTest.dll wzh-netmvc:app/WzhTest.dll 启动容器 docker restart wzh-netmvc 进入窗口 docker exec -it wzh-netmvc /bin/bash 阅读全文
posted @ 2021-07-06 21:00 lunawzh 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 转: Docker的asp.net core应用部署系列——进入正在运行的docker容器里面 阅读全文
posted @ 2021-07-06 20:44 lunawzh 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 29 下一页