Mapping and metadata information could not be found for EntityType
You’ve forgotten to update your T4 templating generation in the entity POCO objects haven’t you. Simples #notetoself
View ArticleCant find entityframework.dll
Maybe I’m being thick but having installed the latest version of MVC3 I was expecting the Entity Framework Code-First library to be in the GAC. It isn’t. Instead its either downloaded via a...
View ArticleSubmitting html in mvc3 using AllowHtml attribute
Get this error in MVC httprequestvalidationexception? Think its about time you were allowed to make a call whether html type characters could be submitted in a form? Step in mvc3 and granular...
View ArticleDecorating generated POCO with attributes
So like a good boy you’ve generated your POCO entities from you EF model and everytime you change the model you simple “run custom tool” to update. Cool! Then you decide to add some attributes to your...
View ArticleType datetime2 is not a defined system type
EF generating wasted db calls Odd one this! Caused by a fairly innocuous looking var result = MyRepository.Select(a => myIds.Contains(a.theirID)).ToList(); It was a two fold effect, datetime2 was...
View Article