<?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>Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx</link><description>We have seen quite a few requests coming in from various folks asking for some guidance on best practices around working with large entity models in an Entity Framework application. The following post tries to describe the typical issues you would face</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>infoblog &amp;raquo; Working With Large Models In Entity Framework ??? Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9137924</link><pubDate>Mon, 24 Nov 2008 20:21:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9137924</guid><dc:creator>infoblog &amp;raquo; Working With Large Models In Entity Framework ??? Part 1</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/index.php/2008/11/24/working-with-large-models-in-entity-framework-%e2%80%93-part-1/"&gt;http://blog.a-foton.ru/index.php/2008/11/24/working-with-large-models-in-entity-framework-%e2%80%93-part-1/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9139338</link><pubDate>Tue, 25 Nov 2008 01:51:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9139338</guid><dc:creator>juliel</dc:creator><description>&lt;p&gt;I'm really looking forward to seeing these and have donloaded them but they are the raw files. One of the points you have made is that using these patterns you can do all of the work in the designer. Any chance of sharing some EDMX files so we don't have to dizzy ourselves looking at the raw xml and moving back and forth from one file to another to mentally put it all together?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;julie&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9140655</link><pubDate>Tue, 25 Nov 2008 08:06:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9140655</guid><dc:creator>Erik Wynne Stepp</dc:creator><description>&lt;p&gt;You state above that &amp;quot;the prescriptive guidance from EF team is to pre-generate views for all EF applications.&amp;quot;&lt;/p&gt;
&lt;p&gt;If this is the case, then why do you not provide a better integration scenario in Visual Studio?&lt;/p&gt;
&lt;p&gt;The steps that you suggest are not onerous, but they are also not obvious either. &amp;nbsp; &lt;/p&gt;
&lt;p&gt;I would expect Visual Studio to implement the best practice by default, but allow me to easily change it. &amp;nbsp;In the next release of EF, could you please do the best solution by default?&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9141408</link><pubDate>Tue, 25 Nov 2008 13:20:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141408</guid><dc:creator>Srikanth</dc:creator><description>&lt;p&gt;Julie,&lt;/p&gt;
&lt;p&gt;Out &amp;nbsp;of the 3 folders in the zip, only one(SubsettingUsingForeignKeys) corresponds to the post today. The other two are for the second part of the post where I will go over type reuse with &amp;quot;Using&amp;quot;. Since designer does not support &amp;quot;Using&amp;quot;, the Edmx files would not be very useful for these. &lt;/p&gt;
&lt;p&gt;I will try to share the Edmx file for SubsettingUsingForeignKeys sample but in the mean while you can put it together pretty easily from the CSDL, SSDL and MSL files following the steps from Sanjay in this post : &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/dsimmons/archive/2007/12/07/how-to-use-your-existing-csdl-msl-ssdl-files-in-the-entity-designer-ctp2.aspx"&gt;http://blogs.msdn.com/dsimmons/archive/2007/12/07/how-to-use-your-existing-csdl-msl-ssdl-files-in-the-entity-designer-ctp2.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Srikanth&lt;/p&gt;
</description></item><item><title>EF : Comment contouner le problèmes de performance des très gros modèles</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9141506</link><pubDate>Tue, 25 Nov 2008 13:53:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141506</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;J'ai r&amp;#233;cemment &amp;#233;t&amp;#233; sollicit&amp;#233; pour proposer des solutions afin de r&amp;#233;soudre des probl&amp;#232;mes de performances&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9141581</link><pubDate>Tue, 25 Nov 2008 14:24:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141581</guid><dc:creator>Dariusz Jankowski</dc:creator><description>&lt;p&gt;I work with model with more than 70 tables and it will grow.&lt;/p&gt;
&lt;p&gt;I think that it would be great to be able to work with EDM Model like we work with database model in SQL Server. In SQL Server we are able to generate different diagrams which describes some aspects of relations. It could be also implemented in EDM Diagram in some way.&lt;/p&gt;
&lt;p&gt;Helpful may be creating boundaries inside Model so we would work with all model or only with a part of it, but the part would still have relations with other parts (tables in parts).&lt;/p&gt;
&lt;p&gt;Example slices:&lt;/p&gt;
&lt;p&gt;OrderSlice which consists tables: Order, OrderDetails, OrderStatus, OrderType, OrderHistory&lt;/p&gt;
&lt;p&gt;ProductSlice which consists tables: Product, productCategory, ProductFamily, ProductImages, ProductJme, ProductDescription, etc&lt;/p&gt;
&lt;p&gt;Is this all has sense to implement in future EF?&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9141590</link><pubDate>Tue, 25 Nov 2008 14:28:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141590</guid><dc:creator>DM</dc:creator><description>&lt;p&gt;A bit more helpful than Elisa Flasko's comment &amp;quot;Well, big entities are big entities...!&amp;quot; when someone asked this question at TechEd Europe recently.&lt;/p&gt;
</description></item><item><title>How to solve a big EDM performance problem?</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9141600</link><pubDate>Tue, 25 Nov 2008 14:35:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141600</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;Last week, a customer asked me how to solve a big EDM performance problem? In his case, his model was&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9165749</link><pubDate>Tue, 02 Dec 2008 22:19:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9165749</guid><dc:creator>Glenn Gailey [MSFT]</dc:creator><description>&lt;p&gt;More general information about Entity Framework runtime performance can be found at &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc853327.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc853327.aspx&lt;/a&gt;. &lt;/p&gt;
</description></item><item><title>Weekly digest of interesting stuff</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9171667</link><pubDate>Wed, 03 Dec 2008 23:44:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9171667</guid><dc:creator>Steve Strong's Blog</dc:creator><description>&lt;p&gt;Weekly digest of interesting stuff&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9186568</link><pubDate>Tue, 09 Dec 2008 10:08:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9186568</guid><dc:creator>Norbert Siegel</dc:creator><description>&lt;p&gt;I worked with 250 tables in the Entity Model an can not split it into 2 or more Entity Models. I used allways pregenerated Views, but the compiletime is much to high. The Runtime Performance is good.&lt;/p&gt;
&lt;p&gt;Planed Microsoft a Performance Patch in the next Month ?&lt;/p&gt;
</description></item><item><title>解决Entity Framework中大数据模型问题的技巧</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9190971</link><pubDate>Wed, 10 Dec 2008 16:34:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9190971</guid><dc:creator>BrianLei</dc:creator><description>&lt;p&gt;EntityFramework的开发领导SrikanthMandadi称这个包含两部分内容的文章为&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9427522</link><pubDate>Tue, 17 Feb 2009 15:41:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9427522</guid><dc:creator>Dave C</dc:creator><description>&lt;p&gt;Hey, we're working with quite a large database and using edmgen2.exe to generate our emdx and .cs files. I found this link very helpful as i didn't know that pre-generating the Views would actually speed everything up. It's created an 80 meg .cs file which VS actually struggles to build.. Once it's built though. It means development is much faster than it used to be. Every time we used to make a change and started up the web site we'd have to wait ages before linq would respond. &lt;/p&gt;
&lt;p&gt;I'd recommend to anyone to do this view generation stuff before they work with linq to entities on a day to day basis. &lt;/p&gt;
&lt;p&gt;I hope in the next version alot of the speed issues and this hidden stuff is going available as options or properties. Also that linq to entities catches up with Linq to SQL. &lt;/p&gt;
</description></item><item><title>Entity Framework ottimizzare le performance</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9538302</link><pubDate>Wed, 08 Apr 2009 17:43:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9538302</guid><dc:creator>Pietro Brambati Blog</dc:creator><description>&lt;p&gt;Direi che una buona pagina da cui partire &amp;#232; questo documento su MSDN :Performance Considerations for&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9635022</link><pubDate>Fri, 22 May 2009 13:58:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635022</guid><dc:creator>Medyum</dc:creator><description>&lt;p&gt;I'm really looking forward to seeing these and have donloaded them but they are the raw files. One of the points you have made is that using these patterns you can do all of the work in the designer. Any chance of sharing some EDMX files so we don't have to dizzy ourselves looking at the raw xml and moving back and forth from one file to another to mentally put it all together?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
</description></item><item><title>Comment découper ses entités en plusieurs modèles</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9642737</link><pubDate>Wed, 27 May 2009 02:47:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9642737</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;Un de mes clients veut d&amp;#233;velopper un ERP avec EF. Sa base contient plus de 600 tables quasiment toutes&lt;/p&gt;
</description></item><item><title>How to split your EDM?</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9644402</link><pubDate>Wed, 27 May 2009 16:28:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644402</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;One of my customers wants to code an ERP. To make it, he wants to use EF. His DB has more than 600 tables&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9801178</link><pubDate>Wed, 24 Jun 2009 12:00:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9801178</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Does anyone know if there has been some improvement for big database structure? Does the VS 2010/.NET 4 handle it better?&lt;/p&gt;
&lt;p&gt;We are in the development process of an application that will grow. For the moment and for the next year we are not expecting a very huge model, but it might become large later on. &lt;/p&gt;
&lt;p&gt;What has changed with the new upcoming versions?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9840032</link><pubDate>Sun, 19 Jul 2009 17:31:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9840032</guid><dc:creator>radyo dinle</dc:creator><description>&lt;p&gt;Last week, a customer asked me how to solve a big EDM performance problem? In his case, his model was&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9846375</link><pubDate>Thu, 23 Jul 2009 17:22:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846375</guid><dc:creator>ssk sorgulama</dc:creator><description>&lt;p&gt;I'm really looking forward to seeing these and have donloaded them but they are the raw files. One of the points you have made is that using these patterns you can do all of the work in the designer. Any chance of sharing some EDMX files so we don't have to dizzy ourselves looking at the raw xml and moving back and forth from one file to another to mentally put it all together?&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9846563</link><pubDate>Thu, 23 Jul 2009 19:41:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846563</guid><dc:creator>zerrin egeliler</dc:creator><description>&lt;p&gt;I'm really looking forward to seeing these and have donloaded them but they are the raw files. One of the points you have made is that using these patterns you can do all of the work in the designer. Any chance of sharing some EDMX files so we don't have to dizzy ourselves looking at the raw xml and moving back and forth from one file to another to mentally put it all together?&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9861629</link><pubDate>Sun, 09 Aug 2009 00:08:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9861629</guid><dc:creator>juan</dc:creator><description>&lt;p&gt;una porkeria su Entity Framework.. &lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9905249</link><pubDate>Fri, 09 Oct 2009 06:12:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9905249</guid><dc:creator>Luc</dc:creator><description>&lt;p&gt;52 entities, 55 associations (Foreign keys)&lt;/p&gt;
&lt;p&gt;The Validate step worked slower and slower.&lt;/p&gt;
&lt;p&gt;Now it crashes both in VS and at run time ...&lt;/p&gt;
&lt;p&gt;EF is big and clumsy. I even wonder if it can be fixed. Many unnecessary features&lt;/p&gt;
&lt;p&gt;that should have been orthogonal to the framework not built in.&lt;/p&gt;
&lt;p&gt;I actually wanted to use Linq to SQL, that's a lean piece of software. But MS drops it and picks EF as the &amp;quot;winner&amp;quot;.&lt;/p&gt;
&lt;p&gt;I apologize for being this harsh but it's ridiculous to consider a 50-100 tables system as being big. What's a 500 tables system then?&lt;/p&gt;
&lt;p&gt;I concur with Juan above ...&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9936183</link><pubDate>Sun, 13 Dec 2009 06:52:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9936183</guid><dc:creator>alex</dc:creator><description>&lt;p&gt;could your rewrite the petshop demo whit Entity Framework, &amp;nbsp;so we can get a best practice sample.&lt;/p&gt;
</description></item><item><title>re: Working With Large Models In Entity Framework – Part 1</title><link>http://blogs.msdn.com/adonet/archive/2008/11/24/working-with-large-models-in-entity-framework-part-1.aspx#9940192</link><pubDate>Tue, 22 Dec 2009 19:13:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9940192</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;What's wrong with the same type defined in multiple models? &amp;nbsp;For example, with AdventureWorks, tables in the Person schema are related both to tables in the Sales and Human Resources schemas. &amp;nbsp;Why not simply create two models, one for Sales and another for Human Resource, but with Person tables in both models? &amp;nbsp;What are the problems with this approach?&lt;/p&gt;
</description></item></channel></rss>