<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>Search results for 'app:weblogs' matching tags 'Entity Framework' and 'Visual Studio 2010'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=Entity+Framework,Visual+Studio+2010&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tags 'Entity Framework' and 'Visual Studio 2010'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Entity Framework 4.0 News</title><link>http://msmvps.com/blogs/nunogodinho/archive/2009/11/16/entity-framework-4-0-news.aspx</link><pubDate>Mon, 16 Nov 2009 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1740036</guid><dc:creator>NunoGodinho</dc:creator><description>&lt;p&gt;&amp;#160; In the last few days I’ve been seeing several element of the Entity Framework 4.0 that come with the .NET 4.0 and I there are several interesting news that I thought I could wrap up a little bit in this post, and so lets start with the news.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&amp;#160; &lt;strong&gt;Providers made for version 3.5 will work unmodified&lt;/strong&gt;       &lt;ul&gt;       &lt;li&gt;Great news for all the ones that develop their own custom providers in order to work with Entity Framework, and of course a nice information to know that the provider model is not being changed on this version. &lt;/li&gt;        &lt;li&gt;In order to know more about the several changes &lt;a href="http://blogs.msdn.com/adonet/archive/2009/10/22/new-features-in-entity-framework-impacting-providers.aspx"&gt;read here&lt;/a&gt;. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;New CTP for the ADO.NET Entity Framework Features that work with Visual Studio 2010 Beta 2 version&lt;/strong&gt;       &lt;ul&gt;       &lt;li&gt;Interesting news since in some cases we needed this in order to continue working with features like Self-Tracking Entities, and some new stuff is also here, like enhancements in the Code-Only EF model, in terms of:          &lt;ul&gt;           &lt;li&gt;Fine grained control over the model              &lt;ul&gt;               &lt;li&gt;Specify Navigation Properties inversed &lt;/li&gt;                &lt;li&gt;Property Facets &lt;/li&gt;                &lt;li&gt;Complex types &lt;/li&gt;             &lt;/ul&gt;           &lt;/li&gt;            &lt;li&gt;Customizing Mappings              &lt;ul&gt;               &lt;li&gt;Change Table and Column Names &lt;/li&gt;                &lt;li&gt;Custom inheritance &lt;/li&gt;                &lt;li&gt;Entity Splitting &lt;/li&gt;                &lt;li&gt;Joining Table Mapping &lt;/li&gt;             &lt;/ul&gt;           &lt;/li&gt;         &lt;/ul&gt;       &lt;/li&gt;        &lt;li&gt;Read more &lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx"&gt;here&lt;/a&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Model First with Entity Framework&lt;/strong&gt;       &lt;ul&gt;       &lt;li&gt;Now we can develop our EF model first and even extend the Database Generation Workflow and DDL generation Template.          &lt;ul&gt;           &lt;li&gt;This is very important and shows how this EF version is extensible and lets us define what we want to happen, and how it will happen, and this is a great power for the ones that are using EF or using other ORM technologies and need more power into their models. &lt;/li&gt;            &lt;li&gt;Uses WF 4.0 as the way to provide extensibility for the Data Generations. Very interesting indeed. &lt;/li&gt;         &lt;/ul&gt;       &lt;/li&gt;        &lt;li&gt;A very good post of the PM of the Entity Designer of the EF, Noam Ben-Ami &lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/05/model-first-with-the-entity-framework-4.aspx"&gt;here&lt;/a&gt;. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Foreign Key Relationships&lt;/strong&gt;       &lt;ul&gt;       &lt;li&gt;This has always been a challenge with the different ORM technologies that I’ve used, and in the EF 4.0 a lot is being change, from using Implicit Associations to Explicit Associations.          &lt;ul&gt;           &lt;li&gt;&lt;em&gt;“In .NET 4.0 we’ve added support for FK Properties and FK Associations to the Entity Framework. It’s still possible to use Independent Associations and the two can be mixed in models. We’re excited to offer FK Associations because they simplify many common Entity Framework coding tasks. Hopefully this walkthrough has given you a feel for how you can use FK Associations and Properties.”&lt;/em&gt; &lt;/li&gt;         &lt;/ul&gt;       &lt;/li&gt;        &lt;li&gt;Read more about this &lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/06/foreign-key-relationships-in-the-entity-framework.aspx"&gt;here&lt;/a&gt;. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Automatic Generation of Stored Procedures Return Types&lt;/strong&gt;       &lt;ul&gt;       &lt;li&gt;Sometimes we need for a stored procedure to return several values, like a table, and in order to make this easier the EF team decided to provide a way to easily return a collection of complex types from Stored Procedures, and so in this new version the designer allows us to define with type of results the Store Procedure will return and then it will generate the need type on the Database. &lt;/li&gt;        &lt;li&gt;Very interesting also, read more &lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/12/automatic-generation-of-stored-procedure-return-types.aspx"&gt;here&lt;/a&gt;. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Walkthroughs about &lt;/strong&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/12/updated-feature-ctp-walkthrough-code-only-for-entity-framework.aspx"&gt;&lt;strong&gt;Code-Only&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; and &lt;/strong&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/11/15/updated-feature-ctp-walkthrough-self-tracking-entities-for-the-entity-framework.aspx"&gt;&lt;strong&gt;Self-Tracking Entities&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;.&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&amp;#160; Hope this helps you knowing a little more about Entity Framework 4.0 and where to find more information’s.&lt;/p&gt;</description></item><item><title>Interesting reading about Entity Framework 4.0</title><link>http://msmvps.com/blogs/nunogodinho/archive/2009/07/06/interesting-reading-about-entity-framework-4-0.aspx</link><pubDate>Mon, 06 Jul 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1698491</guid><dc:creator>NunoGodinho</dc:creator><description>&lt;p&gt;Entity Framework has suffered great changes and in order to know more about them I recommend the following reading:&lt;/p&gt;  &lt;p&gt;POCO (&lt;strong&gt;P&lt;/strong&gt;lain &lt;strong&gt;O&lt;/strong&gt;ld &lt;strong&gt;C&lt;/strong&gt;LR &lt;strong&gt;O&lt;/strong&gt;bject or Persistence ) in the Entity Framework 4.0&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/05/11/sneak-preview-persistence-ignorance-and-poco-in-entity-framework-4-0.aspx" target="_blank"&gt;Sneak Preview: Persistence Ignorance and POCO in Entity Framework 4.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;POCO in the Entity Framework: &lt;/li&gt; &lt;/ul&gt;  &lt;blockquote&gt;   &lt;p&gt;“Why is POCO important in Entity Framework? Is important because now we have the ability to really separate the Storage Model from the Conceptual Model, and being the Conceptual Model our &lt;strong&gt;normal&lt;/strong&gt; CLR Objects, that was not possible in previous versions of Entity Framework. This is a huge breakthrough for this 4.0 version. Is not perfect, and in this technologies it never is but it’s very interesting”&lt;/p&gt; &lt;/blockquote&gt;  &lt;ul&gt;   &lt;ol&gt;     &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/05/21/poco-in-the-entity-framework-part-1-the-experience.aspx" target="_blank"&gt;Part 1 - The Experience&lt;/a&gt; (Explains how to make this two parts of the POCO experience with Entity Framework 4.0, from making the Model to the designing of the POCO entities, as well as answering some interesting questions)&lt;/li&gt;      &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/05/28/poco-in-the-entity-framework-part-2-complex-types-deferred-loading-and-explicit-loading.aspx" target="_blank"&gt;Part 2 – Complex Types, Deferred Loading and Explicit Loading&lt;/a&gt; (Goes further in the POCO entities and make changes shows how to implement Complex Types as well as configuring the Loading by using Deferred/Lazy Loading or Explicit Loading)&lt;/li&gt;      &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/06/10/poco-in-the-entity-framework-part-3-change-tracking-with-poco.aspx" target="_blank"&gt;Part 3 – Change Tracking with POCO&lt;/a&gt; (Explains furthermore how the Change Tracking, that is so important in Entity Framework, works in POCO entities and how can it be configured by using Metadata) &lt;/li&gt;   &lt;/ol&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx" target="_blank"&gt;Using Repository and Unit of Work patterns with Entity Framework 4.0&lt;/a&gt; (Explains how to implement common patterns like &lt;a href="http://martinfowler.com/eaaCatalog/repository.html" target="_blank"&gt;Repository&lt;/a&gt; and &lt;a href="http://www.martinfowler.com/eaaCatalog/unitOfWork.html" target="_blank"&gt;Unit of Work&lt;/a&gt; using Entity Framework 4.0) &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/archive/2009/06/22/announcing-entity-framework-feature-ctp-1.aspx" target="_blank"&gt;Entity Framework Feature CTP 1&lt;/a&gt; (Announcement of the Entity Framework CTP Features for .NET 4.0 Beta 1)&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/pages/feature-ctp-walkthrough-self-tracking-entities-for-the-entity-framework.aspx" target="_blank"&gt;Feature CTP Walkthrough: Self Tracking Entities for Entity Framework&lt;/a&gt; (Explains the scenarios on where to use the Self Tracking Entities)&lt;/li&gt;      &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/pages/feature-ctp-walkthrough-poco-templates-for-the-entity-framework.aspx" target="_blank"&gt;Feature CTP Walkthrough: POCO Templates for Entity Framework&lt;/a&gt; (Explains how to use POCO Templates, that is a kind of T4 Template in order to generate POCO entities)&lt;/li&gt;      &lt;li&gt;&lt;a href="http://blogs.msdn.com/adonet/pages/feature-ctp-walkthrough-code-only-for-the-entity-framework.aspx" target="_blank"&gt;Feature CTP Walkthrough: Code Only for Entity Framework&lt;/a&gt; (Explains how to Entity Framework without any model like EDMX, just code)&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;I hope you enjoy the reading.&lt;/p&gt;</description></item></channel></rss>