插入记录上的亚音速时间戳问题

时间:2009-10-15 02:27:28

标签: subsonic timestamp

我的问题是关于我的一个数据库表中的timestamp列。此字段是必需的,因为sqlserver会自动生成它。由于此列是必需的,因此在插入查询中包含它。

即时通讯使用亚音速3.0

info.Save();

错误消息:

Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.

1 个答案:

答案 0 :(得分:0)