<?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>TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx</link><description>In Whidbey we’ve done a lot of work to enable design time support for object based data binding. This leaves the question of how to load and save custom objects. How do developers get the rich functionality of DataSet but using their own object model</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#10070162</link><pubDate>Fri, 01 Oct 2010 05:15:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10070162</guid><dc:creator>Chang</dc:creator><description>&lt;p&gt;I realized that the transactionscope didn&amp;#39;t work as the tableadapter will update changes back to database even if i commented the .complete method. Please help.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10070162" width="1" height="1"&gt;</description></item><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#10012021</link><pubDate>Wed, 12 May 2010 20:24:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10012021</guid><dc:creator>Chan B.</dc:creator><description>&lt;p&gt;All works up until I attempt the code ...&lt;/p&gt;
&lt;p&gt;Case ObjectState.Added&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_employeesTableAdapter.Insert(employee.LastName, employee.FirstName, employee.HireDate)&lt;/p&gt;
&lt;p&gt;at the very end.&lt;/p&gt;
&lt;p&gt;As I inspect the table adapter, no Insert method exists, even though I specified create insert, update and delete methods when I configured???&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10012021" width="1" height="1"&gt;</description></item><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#9966125</link><pubDate>Fri, 19 Feb 2010 02:04:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9966125</guid><dc:creator>efuan</dc:creator><description>&lt;p&gt;You have to put code either in your constructor or somewhere else to set the added attribute to true then in your set you can do this:&lt;/p&gt;
&lt;p&gt;If _InventoryService &amp;lt;&amp;gt; value Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If Me.ObjectState &amp;lt;&amp;gt; ObjectState.Added Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.DataStateChanged(ObjectState.Modified, &amp;quot;InventoryService&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_InventoryService = value&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9966125" width="1" height="1"&gt;</description></item><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#9946559</link><pubDate>Mon, 11 Jan 2010 15:43:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9946559</guid><dc:creator>vsr</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;For Each employee As Employee In employees&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Select Case employee.ObjectState&lt;/p&gt;
&lt;p&gt;==&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case ObjectState.Added&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_employeesTableAdapter.Insert(...&lt;/p&gt;
&lt;p&gt;when did this object acquired the state -&amp;gt; &amp;quot;Added&amp;quot; prior to getting this far here.....?&lt;/p&gt;
&lt;p&gt;please elaborate.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9946559" width="1" height="1"&gt;</description></item><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#9929320</link><pubDate>Fri, 27 Nov 2009 08:49:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9929320</guid><dc:creator>cember makinası</dc:creator><description>&lt;p&gt;I'm saving this article archives instantly have quality information thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9929320" width="1" height="1"&gt;</description></item><item><title>Something's Fishy on the VB Team Blog</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#409493</link><pubDate>Tue, 19 Apr 2005 03:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409493</guid><dc:creator>Scott Bellware's Webflog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=409493" width="1" height="1"&gt;</description></item><item><title>re: TableAdapters and Object Binding - Bridging the gap</title><link>http://blogs.msdn.com/b/vbteam/archive/2005/04/14/tableadaptersandobjects.aspx#408418</link><pubDate>Fri, 15 Apr 2005 09:55:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:408418</guid><dc:creator>Harry[at]Ardimedia.Com</dc:creator><description>Hello VB Team&lt;br&gt;&lt;br&gt;Thankx for the nice Article! As soon as the Beta 2 is out, I will even go through it. At the moment I do have the folloing comment:&lt;br&gt;&lt;br&gt;This issue (nullable) I don't get. Maybe you could write a paragraph and further descirbe the implication for this:&lt;br&gt;&lt;br&gt;&amp;gt; We weren’t able to get the nullable columns done on the typed DataTable, although the TableAdapters are fully null aware. &lt;br&gt;&lt;br&gt;Thankx, Cheers Harry&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=408418" width="1" height="1"&gt;</description></item></channel></rss>