摘要: docker mysql 阅读全文
posted @ 2023-04-03 11:10 wfpanskxin 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 来自Richard老师解决办法 阅读全文
posted @ 2021-02-05 10:32 wfpanskxin 阅读(253) 评论(0) 推荐(0) 编辑
摘要: CREATE FUNCTION GetNum (Varstring varchar(50)) RETURNS varchar(30) DETERMINISTIC BEGIN DECLARE v_length INT DEFAULT 0; DECLARE v_Tmp varchar(50) defau 阅读全文
posted @ 2020-09-02 17:17 wfpanskxin 阅读(1922) 评论(0) 推荐(0) 编辑
摘要: public class Compare<T, C> : IEqualityComparer<T> { private Func<T, C> _getField; public Compare(Func<T, C> getfield) { _getField = getfield; } public 阅读全文
posted @ 2020-08-04 14:35 wfpanskxin 阅读(1033) 评论(0) 推荐(0) 编辑
摘要: 扩展类 public static class ObjectExtensions { public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource 阅读全文
posted @ 2020-06-15 10:49 wfpanskxin 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 1.系统版本,mysql版本: 一般情况下没有如果是权限原因或者防火墙原因就不说了网上资料多的一塌糊涂 但是简单说一下几个命令: #远程连接授权 grant all privileges on *.* to 'root'@'%'; FLUSH PRIVILEGES; #修改密码 ALTER USER 阅读全文
posted @ 2020-06-07 17:32 wfpanskxin 阅读(2261) 评论(0) 推荐(0) 编辑
摘要: 这里可以用快捷键 Ctrl W,L 或者 View => Database Explorer 阅读全文
posted @ 2020-05-22 09:37 wfpanskxin 阅读(699) 评论(0) 推荐(0) 编辑
摘要: docker exec -it containerID /bin/bash 进入容器交互 containerID:镜像ID 阅读全文
posted @ 2020-05-20 09:01 wfpanskxin 阅读(11189) 评论(0) 推荐(0) 编辑
摘要: 添加程序集:System.Text.Json using System.Text.Json; using System.Text.Json.Serialization; 响应时间格式,中文乱码,响应驼峰命名 services.AddControllers(x=> { //x.Filters.Add( 阅读全文
posted @ 2020-05-19 23:55 wfpanskxin 阅读(676) 评论(0) 推荐(0) 编辑
摘要: public static class HttpContext { private static IHttpContextAccessor _accessor; public static Microsoft.AspNetCore.Http.HttpContext Current => _acces 阅读全文
posted @ 2020-05-19 23:43 wfpanskxin 阅读(765) 评论(0) 推荐(0) 编辑