{"id":7333,"date":"2004-09-17T17:21:00","date_gmt":"2004-09-17T17:21:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vbteam\/2004\/09\/17\/why-does-the-typed-dataset-generate-fxcop-violations\/"},"modified":"2024-07-05T14:58:42","modified_gmt":"2024-07-05T21:58:42","slug":"why-does-the-typed-dataset-generate-fxcop-violations","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vbteam\/why-does-the-typed-dataset-generate-fxcop-violations\/","title":{"rendered":"Why does the Typed DataSet generate FXCop violations?"},"content":{"rendered":"<p class=\"MsoNormal\"><span><\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>For B1 we generated typed column events and event args.<span>&nbsp; <\/span>The Typed Column Events and Event Args have been cut and will be removed in Beta 2.<span>&nbsp; <\/span>The scenario will still be enabled as we&rsquo;ll generate an event handler when needed in the designer.<span>&nbsp; <\/span>Please look for info in our team blog on B1 to B2 changes.<span>&nbsp; <\/span>I hope to post these changes the week of 9\/20\/04<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span><\/p>\n<p>&nbsp;<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>As for the many of the other errors, most we are unable to fix.<span>&nbsp; <\/span>The nested classes issue is something we shipped in VS 2002 to make sure the tables are unique across multiple datasets.<span>&nbsp; <\/span>Many of the column and parameter names are a result of column names in the originating database.<span>&nbsp; <\/span>Because many databases are case sensitive, we are unable to modify the properties and parameters.<span>&nbsp; <\/span>We must use the same names that are provided by the database.<span>&nbsp; <\/span><\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span><\/p>\n<p>&nbsp;<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>We are looking to add an attribute to the generated code that would suppress the warnings FXCop generates.<span>&nbsp; <\/span><\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span><\/p>\n<p>&nbsp;<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>Steve Lasker<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>Program Manager <\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>Data Design-Time for Client Apps<\/p>\n<p><\/span><\/p>\n<p class=\"MsoNormal\"><span>Blogs @ http:\/\/blogs.msdn.com\/vbteam\/category\/4754.aspx<\/p>\n<p><\/span><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For B1 we generated typed column events and event args.&nbsp; The Typed Column Events and Event Args have been cut and will be removed in Beta 2.&nbsp; The scenario will still be enabled as we&rsquo;ll generate an event handler when needed in the designer.&nbsp; Please look for info in our team blog on B1 to [&hellip;]<\/p>\n","protected":false},"author":260,"featured_media":8818,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[192,195],"tags":[],"class_list":["post-7333","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured","category-visual-basic"],"acf":[],"blog_post_summary":"<p>For B1 we generated typed column events and event args.&nbsp; The Typed Column Events and Event Args have been cut and will be removed in Beta 2.&nbsp; The scenario will still be enabled as we&rsquo;ll generate an event handler when needed in the designer.&nbsp; Please look for info in our team blog on B1 to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/7333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/users\/260"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/comments?post=7333"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/7333\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media\/8818"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media?parent=7333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/categories?post=7333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/tags?post=7333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}