<?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>Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx</link><description>The “Update Model from Database” feature in the CTP2 of the EDM designer is greatly improved in the next designer release. It now supports iterative development scenarios by adding new database tables and columns to the schema, correctly handling type</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8348851</link><pubDate>Tue, 01 Apr 2008 23:15:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8348851</guid><dc:creator>juliel</dc:creator><description>&lt;p&gt;Oh, good, I was literally about to update a model. Could I maybe have that right now? ;-)&lt;/p&gt;
&lt;p&gt;Looking forward to the improvements.&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8348877</link><pubDate>Tue, 01 Apr 2008 23:31:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8348877</guid><dc:creator>Joachim Lykke Andersen</dc:creator><description>&lt;p&gt;Sounds fantastic, i hope that we will se this in a CTP very soon, as we really need these improvements. If you need somebody to try it out, let me know ;)&lt;/p&gt;
</description></item><item><title>EDM designer CTP3 ou Beta 1, Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8348977</link><pubDate>Wed, 02 Apr 2008 00:17:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8348977</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;Ceux qui ont un peu jou&amp;#233; avec le designer le savent, c'est encore une CTP. La mise &amp;#224; jour du mod&amp;#232;le &amp;#224;&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8350809</link><pubDate>Wed, 02 Apr 2008 14:21:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8350809</guid><dc:creator>shlomiw@gmail.com</dc:creator><description>&lt;p&gt;Any ETA of next release?&lt;/p&gt;
&lt;p&gt;we're looking forward for this improvement...&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8353521</link><pubDate>Thu, 03 Apr 2008 14:47:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8353521</guid><dc:creator>unbornchikken</dc:creator><description>&lt;p&gt;Thank you guys for the improvements! I need that baby right now! :D A quick question: What about complex type support?&lt;/p&gt;
</description></item><item><title>EDM Designer Improvements for UpdateModel features</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8354028</link><pubDate>Thu, 03 Apr 2008 17:54:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8354028</guid><dc:creator>Hot Topics</dc:creator><description>&lt;p&gt;Noam Ben-Ami writes about the improvements we will see in how the designer updates models in the next&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8355240</link><pubDate>Fri, 04 Apr 2008 02:12:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8355240</guid><dc:creator>Noam Ben-Ami</dc:creator><description>&lt;p&gt;Complex type support did not make it into v1.&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8355315</link><pubDate>Fri, 04 Apr 2008 03:05:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8355315</guid><dc:creator>N de Lioncourt</dc:creator><description>&lt;p&gt;I did not realize actually writing code became a hated chore; only tools which remove us from that horrible code will help. No thanks, folks, I got into this field to write code; not be a drag-n-drop monkey. I wish you all luck since you know what monkeys are paid, right? Peanuts and bananas; not six-figure salaries.&lt;/p&gt;
&lt;p&gt;Sheesh... if you hate writing code please get out of the field.&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8363667</link><pubDate>Sun, 06 Apr 2008 22:19:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8363667</guid><dc:creator>Roger Hendriks</dc:creator><description>&lt;p&gt;Nice but from a software development view I would prefer putting the effort in (re)generating the database from the model ;)&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8364430</link><pubDate>Mon, 07 Apr 2008 08:07:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8364430</guid><dc:creator>Noam Ben-Ami</dc:creator><description>&lt;p&gt;We hear you, and we're absolutely putting effort there!&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8364792</link><pubDate>Mon, 07 Apr 2008 12:09:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8364792</guid><dc:creator>Ben S</dc:creator><description>&lt;p&gt;Good work, can’t wait! In addition to desperately wanting the next version (or at least a hint of when it might appear, even if it might change), I would like to see:&lt;/p&gt;
&lt;p&gt;1. More method/property name consistency with Linq to SQL (eg. SubmitChanges() not SaveChanges(), DataContext.Table.InsertOnSubmit() not DataContext.AddToTable() etc)&lt;/p&gt;
&lt;p&gt;2. Support for sql_variant with the ‘object’ type.&lt;/p&gt;
&lt;p&gt;3. Support for inserting multiple rows like Linq to Sql (DataContext.Table.InsertAllOnSubmit(MyObject[] { row1, row2, row3 }))&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8415101</link><pubDate>Mon, 21 Apr 2008 21:00:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8415101</guid><dc:creator>Pedro Ramirez</dc:creator><description>&lt;p&gt;Hi guys, &lt;/p&gt;
&lt;p&gt;you are doing a great job with the Entity Framework, I have a question, right now, we are coding a new application that uses data from 4 different databases and I was wondering if it is possible to create an entity data model related to more than one db, i.e. I need to create one entity that maps to more than one table in more than one database.&lt;/p&gt;
&lt;p&gt;is this possible?, I guess I can overcome this creating some Entity that encapsulates the entity data model from the different databases.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pedro.&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8424161</link><pubDate>Fri, 25 Apr 2008 17:39:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8424161</guid><dc:creator>Morten Mertner</dc:creator><description>&lt;p&gt;It would be much nicer if the Update Model from Database dialog were to create a copy of the current model, update/add all available tables and then let you preview the changes associated with the individual checkboxes on the Add/Refresh tabs.&lt;/p&gt;
&lt;p&gt;While I like the fact that you don't delete from the model, I'm sure that if you can produce a working tool all the manual maintenance will quickly become a major nuisance. Previewing changes sounds like a much nicer user interaction model, and if everything fails there's always Undo in Visual Studio.&lt;/p&gt;
</description></item><item><title>Entity Framework Links for April, 2008</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8451182</link><pubDate>Fri, 02 May 2008 20:10:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8451182</guid><dc:creator>Barry Gervin's Software Architecture Perspectives</dc:creator><description>&lt;p&gt;During the past month, Danny Simmons let us all officially know that SP1 of VS 2008/.NET Framework 3.5&lt;/p&gt;
</description></item><item><title>Update Model – a Question of Identity – Part 1 of 3</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8764372</link><pubDate>Tue, 22 Jul 2008 19:25:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8764372</guid><dc:creator>ADO.NET team blog</dc:creator><description>&lt;p&gt;I propose to explain the reason behind some of the oddities of the “Update Model from Database” functionality&lt;/p&gt;
</description></item><item><title>ADO.NET Entity Framework "Update Model from Database"</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8767433</link><pubDate>Wed, 23 Jul 2008 20:48:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8767433</guid><dc:creator>Henry is Sharing Points about MOSS 2007 &amp; Busy Talking about BizTalk 2006</dc:creator><description>&lt;p&gt;Based on the from ADO.NET team blog post and my experiment, changing the data type in the phyiscal table&lt;/p&gt;
</description></item><item><title>ADO.NET Entity Framework "Update Model from Database"</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8768049</link><pubDate>Thu, 24 Jul 2008 02:42:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8768049</guid><dc:creator>Henry is Sharing Points about MOSS 2007 &amp; Busy Talking about BizTalk 2006</dc:creator><description>&lt;p&gt;Based on the from ADO.NET team blog post and my experiment, changing the data type in the phyiscal table&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8789579</link><pubDate>Tue, 29 Jul 2008 21:18:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8789579</guid><dc:creator>VB</dc:creator><description>&lt;p&gt;When I select &amp;quot;Update Model from DB&amp;quot; it shows me the pop up windows with &amp;quot;Add&amp;quot; and &amp;quot;Update&amp;quot; tables, views, SP option. When I select &amp;quot;Update&amp;quot; it throws an message:&lt;/p&gt;
&lt;p&gt;&amp;quot;You cannot select or deselect.....&amp;quot;&lt;/p&gt;
&lt;p&gt;Hence I end up with all my DB tables again in my EDMX. If I want to update and get only 1/2 DBtables I still end up getting all tables again.&lt;/p&gt;
&lt;p&gt;Is there any way out?????&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#8869534</link><pubDate>Fri, 15 Aug 2008 15:35:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8869534</guid><dc:creator>Mathias</dc:creator><description>&lt;p&gt;Is there a way to update only the SSDL and not the Model?&lt;/p&gt;
&lt;p&gt;I only want a simple &amp;quot;refresh tables&amp;quot; function without adding new columns to my model.&lt;/p&gt;
&lt;p&gt;Not all columns in database are needed in these models (e.g for implementing inheritence)&lt;/p&gt;
</description></item><item><title>Entity Framework – Update Model From Database, Part 2</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#9008382</link><pubDate>Tue, 21 Oct 2008 02:59:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9008382</guid><dc:creator>EntLib</dc:creator><description>&lt;p&gt;Update Model from Database 是EDM 设计器的一个重要改进功能，支持增加新的数据库表和列，Model能够正确处理类型（Type）和属性（Property）的改名，能够检测继承和映射的改变。这里，我们简要介绍这一功能的使用及其限制。上一篇文章《Entity Framework – Update Model From Database, Part 1》&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#9262822</link><pubDate>Thu, 01 Jan 2009 21:37:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9262822</guid><dc:creator>Moon</dc:creator><description>&lt;p&gt;I've been watching your video and now found this. It is the same. When you use Update Model, it has checkboxes which open up sub checkboxes for tables, views, sp's. However, I am using VS2008 with SP1 and when I do the same thing, it simply has one checkbox each for the tables, views, stored procedures, but does not open a subtree with all of my tables, views and sp's from which to select.&lt;/p&gt;
&lt;p&gt;Why is that? Did they take that option out? Or do I have an old version or what is going on? I just recently bought my 2008 a few months ago and have SP1. I just cannot select my tables, etc. using the update model.&lt;/p&gt;
&lt;p&gt;Also, when I update the model based on changes in the tables sometimes it works, and other times it doesn't. And I end up having to delete the entire model and recreate it.&lt;/p&gt;
&lt;p&gt;So far, I am really disappointed in the Entity model.&lt;/p&gt;
&lt;p&gt;1) the model doesn't update as it should without deleting and rebuilding. So forget trying to customize.&lt;/p&gt;
&lt;p&gt;2) the model doesn't support stored procedures that are not insert/update/delete. Even though you can Create Function Import and it allows you to have a return type of None, forget ever trying to use it. It doesn't allow you to use it!! So why tease us with it? I have checked all over the forums and blogs and the consensus is, unless it returns the exact structure of your entities, forget using it.&lt;/p&gt;
&lt;p&gt;3) if I combine linq to entities with an ado.net stored procedure (to use my unsupported stored procedure from #2), the changes made within my stored procedure simply do not get propagated to my entities model and somehow when I use linq to entities to pull from my tables, they are still using the old data prior to my calling the stored procedure. If I use ado.net with a sqlcommand, it will pull the latest. The changes are not flushed to the entity model. Which brings me to #4.&lt;/p&gt;
&lt;p&gt;4) I can't get any help on using this. Rarely does anyone write about how to do real world things such as using the Create Function Import to run a stored procedure that returns nothing. Has anyone done it? I don't think so. Because numerous have told me it can't be done. And when I ask questions in the asp.net forum, I just don't get answers. I thought I'd &amp;quot;move ahead&amp;quot; with the latest technologies, but the technology doesn't seem to be well supported, well discussed and seems to be very incomplete. And using this has put me weeks behind in development. I'm not the only frustrated user, just check the forums.&lt;/p&gt;
&lt;p&gt;5) You can find all kinds of support for dynamic data, silverlight, and MVC, but where is the support for ADO.NET Linq to Entities? There isn't even an asp.net forum dedicated to it.&lt;/p&gt;
&lt;p&gt;I'm simply tired of being Microsoft's unpaid debugger.&lt;/p&gt;
</description></item><item><title>re: Update Model From DB</title><link>http://blogs.msdn.com/adonet/archive/2008/04/01/update-model-from-db.aspx#9937505</link><pubDate>Wed, 16 Dec 2009 07:08:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9937505</guid><dc:creator>Jeff Ballard</dc:creator><description>&lt;p&gt;Thank you so much for the info on this error:&lt;/p&gt;
&lt;p&gt;“Problem in Mapping Fragment(s) starting at line(s) (110, 176): Non-primary-key column(s) [SupplierID] being mapped in both fragments to different conceptual side properties - data inconsistency is possible because the corresponding conceptual side properties can be independently modified.”&lt;/p&gt;
&lt;p&gt;I was running into a similar error and sure enough, I had the field as a scalar property and navigation property because I added the FK after the initial create of the model. &amp;nbsp;Removed the scalar property and all was well.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description></item></channel></rss>