Generating Entity Keys

谁说我不能喝 提交于 2019-12-06 01:41:36

At the bottom of the link in your question is a suggested solution. See SQL Compact, Identity Columns and Entity Framework perhaps you might want to implement an extension method like the one outlined.

gary

I don't think David's idea is a good idea, however, I have no choice. Maybe CE will support autogenerated primary keys in next version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!