<?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>Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx</link><description>Last month we announced the beta release of Service Pack 1 for Visual Studio 2008. This release includes the Entity Framework, including a wizard that can be used to generate a model and a graphical model designer. It also includes the EntityDataSourceControl,</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Pregnant Man &amp;raquo; Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8619378</link><pubDate>Thu, 19 Jun 2008 03:13:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8619378</guid><dc:creator>Pregnant Man &amp;raquo; Tutorial: Entity Data Source Control</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://wordnew.acne-reveiw.info/?p=154"&gt;http://wordnew.acne-reveiw.info/?p=154&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8620872</link><pubDate>Thu, 19 Jun 2008 11:37:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8620872</guid><dc:creator>Fatih Sahin</dc:creator><description>&lt;p&gt;EntityDataSource has a lot of capabilities which makes binding process very easier, without having to write sql join queries. This is really awesome. However, when do you plan to release EF? I am planning to use it in our new project, SP1 Beta has lots of bugs.&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8620964</link><pubDate>Thu, 19 Jun 2008 12:09:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8620964</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;EntityDataSource seems to be good for smalish applications that don't have tiers (you have the select queries inside the datasource). What would be ~really~ interesting is if the EntityDataSource was used for the multi-tier-story. For me what this should do is:&lt;/p&gt;
&lt;p&gt;- The EntityDataSource should track changes on the UI so that it knows when a entity is dirty, new or deleted. This tracking should work for 1-many relationships.&lt;/p&gt;
&lt;p&gt;- The EntityDataSource should give you back the entity ready for you to call your service tier, either through wcf or just as normal referenced assembly.&lt;/p&gt;
&lt;p&gt;- In your service layer the context should attach the entity and replay all your changes for you.&lt;/p&gt;
&lt;p&gt;This would be really nice!&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8621004</link><pubDate>Thu, 19 Jun 2008 12:23:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8621004</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Ah also! Another nice feature would be if the EntityDataSource could have multiple views so that you could use the DataMember property on a gridview for example, this means you can bind one to many relationships with one datasource.&lt;/p&gt;
</description></item><item><title>EntityDataSource Tutorial on ADO.NET TEam Blog</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8625468</link><pubDate>Fri, 20 Jun 2008 17:58:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8625468</guid><dc:creator>Hot Topics</dc:creator><description>&lt;p&gt;A walkthrough on using the new EntityDataSource in ASP.NET websites was added to the ADO.NET Team Blog&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8641017</link><pubDate>Mon, 23 Jun 2008 06:24:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8641017</guid><dc:creator>Diego Vega</dc:creator><description>&lt;p&gt;Hello Fatih,&lt;/p&gt;
&lt;p&gt;I don’t think we have an official date for the final SP1 release (as you know, the EntityDataSource is going to be included in the first service pack for Visual Studio 2008 and .NET Framework 3.5 together with the Entity Framework), but we will announce it here as soon as we are able to. We don't have plans for any interim release.&lt;/p&gt;
&lt;p&gt;Hope this answers your question.&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8641070</link><pubDate>Mon, 23 Jun 2008 06:46:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8641070</guid><dc:creator>Diego Vega</dc:creator><description>&lt;p&gt;Hello Carlos,&lt;/p&gt;
&lt;p&gt;Thanks for your feedback. The EntiyDataSource was designed to provide a simple out-of-the-box experience to people familiar with other DataSources and with some knowledge of EF and Entity-SQL. Support for multi-tier applications the way you describe wasn’t a goal, but rather to enable direct execution of queries against an EDM model easily and in a mostly declarative manner. &lt;/p&gt;
&lt;p&gt;There are certain limitations in the design for the first version that we want to remove in future versions. In the meanwhile, for the scenario you describe, it is very likely that the general-purpose ObjectDataSource executing queries on your own service layer will work much better for you. &lt;/p&gt;
&lt;p&gt;Your point about supporting multiple views and DataMember is very interesting. We analyzed the possibility during the development, especially as one way to support master-detail with a single DataSource and in general, covering the requirement to do databinding with EntityCollections. That was really late in the cycle and given that other built-in DataSources do not support it, it represented a high risk, so we decided against it for the first version.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Diego&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8645226</link><pubDate>Tue, 24 Jun 2008 06:24:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8645226</guid><dc:creator>Khaled Hammouda</dc:creator><description>&lt;p&gt;I have tried to follow the tutorial but bumped into a problem when I tried to build the project after adding the EDM from the database.&lt;/p&gt;
&lt;p&gt;In particular, I got the following error in the Error List:&lt;/p&gt;
&lt;p&gt;&amp;quot;Error 27 The table 'AdventureWorks2008.Production.Document' was referenced by a relationship, but was not found. C:\dev\projects\EdmWorks\EdmWorks\AdventureWorksModel.edmx 0 1 EdmWorks&amp;quot;&lt;/p&gt;
&lt;p&gt;Working backward in the output messages, I found those related messages:&lt;/p&gt;
&lt;p&gt;&amp;quot;Message	3 The data type 'hierarchyid' is not supported, the column 'DocumentNode' in table 'AdventureWorks2008.Production.Document' was excluded. C:\dev\projects\EdmWorks\EdmWorks\AdventureWorksModel.edmx 0 1 EdmWorks&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Message 4 The column 'DocumentNode' on the table/view 'AdventureWorks2008.Production.Document' was excluded, and is a key column. &amp;nbsp;The table/view has been excluded. &amp;nbsp;Please fix the entity in the schema file, and uncomment. C:\dev\projects\EdmWorks\EdmWorks\AdventureWorksModel.edmx 0 1 EdmWorks&amp;quot;&lt;/p&gt;
&lt;p&gt;Any suggest on how to fix this would be appreciated.&lt;/p&gt;
&lt;p&gt;Khaled&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#8654290</link><pubDate>Thu, 26 Jun 2008 04:35:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8654290</guid><dc:creator>Dinesh</dc:creator><description>&lt;p&gt;Hi Diego,&lt;/p&gt;
&lt;p&gt;I think that for a next release of your EntityDataSource you should really look into supporting enterprise level solutions, as the entity framework is targeted for bigger applications than to linq to sql. In any realistic enterprise application, there is a real need to separate presentation from business logic and data concerns which necessitates the need for a tiered approach. With a tiered approach, the EntityDataSource is virtually unusable. &lt;/p&gt;
&lt;p&gt;Secondly, even if we go with the ObjectDataSource, it does not support change tracking for entities requiring a manual replay process on the service tier. This is cumbersome, error-prone and definitely something that can be 'framework'ed.&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#9187416</link><pubDate>Tue, 09 Dec 2008 17:54:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9187416</guid><dc:creator>Roy</dc:creator><description>&lt;p&gt;I am using ADO.NET Entity Data Model template to generate edmx code in Visual Studio 2008. I have selected more than a hundred objects in my database. However, some of the objects are missing in the generated code. Is there a limitation on how many object could be selected? If yes, what is the work around?&lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#9505785</link><pubDate>Wed, 25 Mar 2009 03:11:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9505785</guid><dc:creator>Todd Mera</dc:creator><description>&lt;p&gt;Thanks for the demo. &amp;nbsp;Very helpful. &lt;/p&gt;
&lt;p&gt;I think there is a small error on step 4...&lt;/p&gt;
&lt;p&gt;----------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;WhereParameters&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:ControlParameter ControlID=&amp;quot;ddCategories&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Type=&amp;quot;Int32&amp;quot;Name=&amp;quot;ProductCategoryID&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/WhereParameters&amp;gt;&lt;/p&gt;
&lt;p&gt;----------------------------------&lt;/p&gt;
&lt;p&gt;ControlID=&amp;quot;ddCategories&amp;quot; &lt;/p&gt;
&lt;p&gt;--- Should be ---&lt;/p&gt;
&lt;p&gt;ControlID=&amp;quot;ddCategory&amp;quot; &lt;/p&gt;
</description></item><item><title>re: Tutorial: Entity Data Source Control</title><link>http://blogs.msdn.com/adonet/archive/2008/06/18/tutorial-entity-data-source-control.aspx#9923138</link><pubDate>Mon, 16 Nov 2009 20:26:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9923138</guid><dc:creator>David McCarter</dc:creator><description>&lt;p&gt;I like this article. But what do I do when the a null comes back &amp;nbsp;in the Where statement? I'm getting a java script error.&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
</description></item></channel></rss>