cody.skidmore cody.​skidmore

Niner since 2009


  • Hanselminut​es on 9 - ASP.NET MVC 2 Preview 1 with Phil Haack and Virtual Scott

    As far as I know, manually editing a context's designer.cs file doesn't work.  Any event (such as moving an entity on the context's designer) causes designer.cs to re-generate wiping out your manual edits.


    So, code with dependencies on the attached [DataType(DataType.PhoneNumber)] will break as soon as the context is modified.  I tested this behavior using a LINQ to SQL context.  Is there a way to prevent manual edits from being wiped out?


    Cody Skidmore