why is my primary key editable [closed]
why is my primary key field editable when my dynamic data scaffolds the fields for me. The primary key is set in the db properly. Usin开发者_运维百科g the Entity Framework. Any ideas?
using vs2008 pro
It appears you assume that a primary key should not be editable? How did you get to that conclusion?
To answer your question, any PK that is not auto-incremented is editable.
精彩评论