<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Connection and Transaction properties exposed as Friend on TableAdapters</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx</link><description>Connection Modifier Changes In the Beta 1 build of VS 2005 we expose the Connection as Friend. Friend ReadOnly Property Connection() As System.Data.SqlClient.SqlConnection Based on user feedback and usability studies we've found that this has caused confusion.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Connection and Transaction properties exposed as Friend on TableAdapters</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#203224</link><pubDate>Sun, 01 Aug 2004 02:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:203224</guid><dc:creator>Roger Jennings</dc:creator><description>Fortunately, I Googled 'tableadapter' 'transaction' and found this post. Unfortunately, it was after spending a few hours trying to make the TableAdapter.Transaction property work as I had expected.&lt;br&gt;&lt;br&gt;It appears as if writing Partial Class code for sequenced (deleted, added, modified) updates for two or three related tables in a transaction will be a major PITA. All update operations appear to open and close their connection. &lt;br&gt;&lt;br&gt;I'd sure appreciate some hints or VB sample code that handles the chore. My demo apps use Northwind in SQL Server 2000 and added to 2005.&lt;br&gt;&lt;br&gt;--rj&lt;br&gt;&lt;br&gt;Roger_Jennings@compuserve.com&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Why are the Data Components no longer on the Toolbox?</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#209142</link><pubDate>Thu, 05 Aug 2004 21:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:209142</guid><dc:creator>The Visual Basic Team</dc:creator><description /></item><item><title>re: Connection and Transaction properties exposed as Friend on TableAdapters</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#212753</link><pubDate>Wed, 11 Aug 2004 16:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:212753</guid><dc:creator>Jeff Davis</dc:creator><description>This seems like a major step backwards. Having to do this for every table adapter in our system will be onerous (we have more than 200 tables). The current design seems oriented towards casual, amateur developers rather than enterprise-class developers. &lt;br&gt;&lt;br&gt;I strongly urge MS to reconsider this approach. If the properties are causing you problems, why not just code-gen extra methods that take the existing params plus a connection object and transaction object (tran object only on update methods)?&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Connection and Transaction properties exposed as Friend on TableAdapters</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#214421</link><pubDate>Fri, 13 Aug 2004 23:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:214421</guid><dc:creator>Brian Noyes</dc:creator><description>I have to agree with Jeff. Our standard model for data access layers uses Enterprise Services, and the connection is managed from a base class that sits in a different assembly. The rest of the Table Adapter model will fit nicely into the way we do things, but the Connection not being accessible outside the assembly was already a pain, now you are making it less accessible. Having to add code to support this for every table adapter is going to cause a lot of pain. A data access layer does not know enough about the context in which it is going to be used to assume full responsibility for connection management, so the Connection of all things should be a settable property on the Table Adapter from outside the assembly.</description></item><item><title>re: Connection and Transaction properties exposed as Friend on TableAdapters</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#214433</link><pubDate>Fri, 13 Aug 2004 23:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:214433</guid><dc:creator>Steve Lasker</dc:creator><description>Ok, so how about this:&lt;br&gt;We expose a ConnectionModifier property on the DataSet designer that defaults to Protected, but developers can easily change to Friend or Public.  &lt;br&gt;The issue is we've heard clearly that we should expose sensitive data, such as the Connection info, or the Command Collections outside the assembly.  Our believe is connection strings would be well managed through the Settings class.  If you change the Settings.YourConnectionString, the TableAdapters would utilize this value.  However, I do recognize that developers do have well designed patterns that delegate the creation of a Connection to another library.  ...so the property.  &lt;br&gt;Creating a partial class for each TableAdapter would be PITA, and oh, by the way, we did likely steal the name you'd use Connection, so is it reasonable to default to Protected and you can simply toggle this in the Designer.  Please don't ask for a Tools-Options to change the default :)  This would be a simple thing to add at this point, and we're still hearing &amp;quot;ship it already&amp;quot;.&lt;br&gt;&lt;br&gt;BTW, still haven't had a chance to finish the Transaction sample, but I do have some of it done...&lt;br&gt;Steve</description></item><item><title>ADO.NET 2.0 Coming and goings</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#214764</link><pubDate>Sun, 15 Aug 2004 14:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:214764</guid><dc:creator>Jackie Goldstein's Weblog</dc:creator><description /></item><item><title>ADO.NET 2.0 Comings and goings</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#214769</link><pubDate>Sun, 15 Aug 2004 14:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:214769</guid><dc:creator>Jackie Goldstein's Weblog</dc:creator><description /></item><item><title>re: Data Design Time Changes Beta1 to Beta2</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#362503</link><pubDate>Fri, 28 Jan 2005 19:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:362503</guid><dc:creator>The Visual Basic Team</dc:creator><description /></item><item><title>Connection Management with TableAdapters in .NET 2.0/Visual Studio 2005 &amp;laquo; Rich Newman</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#1942243</link><pubDate>Sat, 24 Mar 2007 15:44:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1942243</guid><dc:creator>Connection Management with TableAdapters in .NET 2.0/Visual Studio 2005 « Rich Newman</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://richnewman.wordpress.com/2007/03/04/connection-management-with-tableadapters-in-net-20visual-studio-2005/"&gt;http://richnewman.wordpress.com/2007/03/04/connection-management-with-tableadapters-in-net-20visual-studio-2005/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>  The Visual Basic Team : Connection and Transaction properties exposed &amp;#8230; at Restaurants</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#6914890</link><pubDate>Mon, 31 Dec 2007 10:39:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6914890</guid><dc:creator>  The Visual Basic Team : Connection and Transaction properties exposed … at Restaurants</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://restaurants.247blogging.info/?p=622"&gt;http://restaurants.247blogging.info/?p=622&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>modify created connection string | keyongtech</title><link>http://blogs.msdn.com/vbteam/archive/2004/07/19/187953.aspx#9361750</link><pubDate>Thu, 22 Jan 2009 05:47:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9361750</guid><dc:creator>modify created connection string | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/445951-modify-created-connection-string"&gt;http://www.keyongtech.com/445951-modify-created-connection-string&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>