MySQL数据库时间格式数据,0000-00-00 读取时异常,解决办法,在连接字符串中添加如下配置即可:
allow zero datetime = true;Convert Zero Datetime=True;
EF linq 过滤检索条件,中文字符串过滤失败,原因是编码不一致,解决方案,在连接字符串中添加如下配置即可:
Character Set=utf8;
还有就是,引入包是个坑。。。版本很重要
参考连接:https://blog.csdn.net/jsyzlinchen/article/details/78331051