我的问题:在MySQL中使用实体框架时,我一直收到错误消息"BLOB/TEXT used in key specification without a key length“。我将StringLength(20)、MaxLength(20)和列(TypeName=“nvarchar”)添加到我唯一的字符串类型的键中,但没有任何进展。我找到了关于这个问题的其他参考资料,但它们都是过时的;几年前在Connector/Net中有一些与此相关<em
我已经尝试过下面的方法,但不能正常工作:ERROR 1064(42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverversion for the right syntax to use near 'on delete cascade' at lin