c# - Can we have table without primary key in entity framework? -


i practicing code first new database entity framework msdn, wanna know whether table without primary key can created in code first new database ef?

no can't because entity framework needs know key keep track on object when make update or delete operation.

anyway it's not idea have table without primarykey


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -