【发布时间】:2010-05-12 15:12:07
【问题描述】:
我正在开发一个使用 asp.net mvc 2 和 linq to sql 的项目。当尝试将数据插入到表的标识列类型为 tinyint 的表中时,会出现此问题。尝试插入时出现以下错误:
The primary key column of type 'TinyInt' cannot be generated by the server.
linq to sql 是否支持 tinyint 数据类型?
请帮帮我
【问题讨论】:
标签: asp.net-mvc linq-to-sql auto-increment tinyint