Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当前版本的 SubSonic 是否支持非自动增量的 PrimaryKey (Int)?如何?
PS:如果我不使用 SimpleRepository() 我可以使用分配的 Id 保存新记录,所以我或多或少可以继续,thz。
在不知道你的意思的情况下,我可以告诉你这么多:SubSonic ActiveRecord 确实支持这样的键,你只需要记住在创建新记录时手动设置它们。