Paul Gielens:ThoughtsService

another Endpoint to my thoughts

News

Syndication

Ads


Favorites

Projects

Autoincrement primary key in EDM

I must be overlooking something.

The ID field in my SQL Server database is configured to autoincrement through setting the Identity seed and Identity increment properties. For some reason the generated code allows the end user of the conceptual EDM model to set the ID property since it’s public. I would expect the setter to be at least private.

Posted: May 26 2008, 05:16 PM by p.gielens | with 2 comment(s)
Filed under: ,

Comments

No Comments