entityframeworkcore cannot insert a value (more than 255 characters) into Mysql database table with varchar(2000) column

weixin_38055275 2017-05-08 07:10:58
I create a table (table name is blog) with columns (blogid int, blogdescription varchar(2000)) in MySQL database, then I use EntityFramework.MySql to insert a record(with more than 255 characters) to this table, but it only can save the 255 charaters into
this table. It is very  strange. Do you have meet this problem?
...全文
13 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧