Pages

Friday, July 2, 2010

Entity Framework and reserved word "EntityKey"

Just a note, do not name your columns in your database "EntityKey" if you are going use the Entity Framework to generate a model. EntityKey is a reserved word and your service will suddenly start showing an "Internal Server Error 500" with no more info.

I only discovered what was wrong when I had a hunch it might be a reserved word and changed my column name to something else.

Hope this saves you some time!!

Freaking SharePoint!

My most commonly used expression when working with SharePoint:

Buy one here!

http://www.zazzle.com/freaking_sharepoint_mousepad-144394182187073191