tag:blogger.com,1999:blog-1782534239117433762.post7041157406690387694..comments2024-03-05T11:37:31.988-08:00Comments on Matt on ... Whatever: LINQ to SQL enum mappingUnknownnoreply@blogger.comBlogger13125tag:blogger.com,1999:blog-1782534239117433762.post-29729087943571786482010-03-02T08:54:49.616-08:002010-03-02T08:54:49.616-08:00global:: helped me too - VS2010 RC with Framework ...global:: helped me too - VS2010 RC with Framework 4... <br /><br />Thanks for this!Gareth Thomas Hillhttps://www.blogger.com/profile/13811920704142646474noreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-46139179559644048682010-01-21T15:09:26.484-08:002010-01-21T15:09:26.484-08:00Your post is still helping - it was the fix to my ...Your post is still helping - it was the fix to my error as well. Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-73922869990208819032009-10-19T08:06:16.708-07:002009-10-19T08:06:16.708-07:00My project was building fine but suddenly that DBM...My project was building fine but suddenly that DBML1005 error appeared after making an unrelated change to the dbml file. Prepending the global:: namespace fixed the issue.<br /><br />Thanks!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-63081888699524980982009-08-10T21:10:27.880-07:002009-08-10T21:10:27.880-07:00Awesome. You saved me!!Awesome. You saved me!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-29632496209216056512009-06-03T14:40:29.735-07:002009-06-03T14:40:29.735-07:00Your nearly-two-year-old post has just saved my da...Your nearly-two-year-old post has just saved my day: it appears that still today, in June 2009, we have same problem in Visual Studio 2008 SP1! Thanks for the workaround!Funka!noreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-8273868818109287282008-09-07T09:51:00.000-07:002008-09-07T09:51:00.000-07:00Thanks a lot for the fix mate. Wonder how you came...Thanks a lot for the fix mate. Wonder how you came up with "global::" prefix :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-45332405685442488262008-08-06T19:47:00.000-07:002008-08-06T19:47:00.000-07:00Thanks Matt for the fix, for me I haven't set a na...Thanks Matt for the fix, for me I haven't set a namespace for the DataContext/Entity types so it should be the same as my enum types. However, although it works most of the time intermittently I get this error and find I have to either restart visual studio or delete the linq class file and recreate. But your workaround solved the issue for me.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-67415435718689842562008-08-04T13:02:00.000-07:002008-08-04T13:02:00.000-07:00This bug still exists in the release version of VS...This bug still exists in the release version of VS 2008. Thanks for posting a fix!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-50019569983494151472008-04-04T06:31:00.000-07:002008-04-04T06:31:00.000-07:00Broken keyboard on this bug. Thank you.Broken keyboard on this bug. Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-66810081405250475072008-03-21T09:27:00.000-07:002008-03-21T09:27:00.000-07:00You missed the point- setting the non-namespace-qu...You missed the point- setting the non-namespace-qualified type name works fine if the enum is in the same namespace as the DataContext/Entity types. It breaks when the enum is in a different namespace.Matt Davishttps://www.blogger.com/profile/17235086151166527370noreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-64074794568312412982008-03-21T01:43:00.000-07:002008-03-21T01:43:00.000-07:00Works for me, if I just set the enum's type name, ...Works for me, if I just set the enum's type name, instead of the FullName.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-70765183263152627402008-03-17T03:59:00.000-07:002008-03-17T03:59:00.000-07:00I did (https://connect.microsoft.com/VisualStudio/...I did (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=289435), but after fighting with the Connect moderator for a couple of rounds (and even giving them a sample app), I gave up. Some groups have really sharp moderators watching their Connect postings, some don't. I had a workaround, and too much work to do on my own product to keep fighting with them- I believe they "Closed, Not Reproduced" the issue. Ha!Matt Davishttps://www.blogger.com/profile/17235086151166527370noreply@blogger.comtag:blogger.com,1999:blog-1782534239117433762.post-22608246103582103672008-03-14T16:56:00.000-07:002008-03-14T16:56:00.000-07:00Hi,Did you end up filing a bug for this?Hi,<BR/>Did you end up filing a bug for this?Anonymousnoreply@blogger.com