Frustration with Entity Framework 4.1
-
Okay, so I'm trying to be a good .Netizen here, but I've been fighting with non-descript errors and no clear answer as to what approach to take. I'm trying to use Database first, but I'm getting nowhere fast. I want to take advantage of the free client-side validation in ASP.NET MVC3, but this seems completely lost when using EF. Am I missing something? Even a simple thing - like nvarchar(6) - is being overlooked. The tool-generated code doesn't spit out things like
[StringLenght(6)]
(from System.ComponentModel.DataAnnotations) so it seems that you've lost all client-side validation, no? Is there a way to turn it on? To have the EDMX generate the appropriate attributes? To track down the so-called "magic unicorn" and ring it's silver-blood-filled little neck? end slash venting.My Latest: How quickly is the Government spending your money? Tech blog: They Call me Mister James