Partager via


Updated Entity Framework Documentation for Beta1

 


The information in this post is out of date.

Visit msdn.com/data/ef for the latest information on current and past releases of EF.


 

With the release of Visual Studio 2010 Beta 1, we have released supporting Entity Framework documentation. Below are links to documentation for new Entity Framework features and scenarios. Along with feedback on the Entity Framework, we would like to hear your feedback on the documentation. What works for you? What doesn’t? What’s missing? We’ll work to incorporate your feedback in future releases.

Thanks!

Entity Framework User Education Team

 

Persistence-Ignorant Objects

You can use your own custom data classes together with your data model without making any modifications to the data classes themselves. This means that you can use "plain old" CLR objects (POCO), such as existing domain objects, with your Entity Framework application. For more information, see Persistence Ignorant Objects (Entity Framework).

 

Deferred Loading of Related Objects

With deferred loading, also known as lazy loading, related objects are automatically loaded from the data source when you access a navigation property. For more information, see Shaping Query Results (Entity Framework).

 

Functions in LINQ to Entities Queries

The EntityFunctions and SqlFunctions classes provide access to canonical and database functions from LINQ to Entities queries. The EdmFunctionAttribute allows a CLR method to serve as a proxy for a function defined in the conceptual model or storage model. For more information, see Calling Functions in LINQ to Entities Queries.

 

Customized Object Layer Code Generation

You can configure the ADO.NET Entity Data Model Designer to use text templates to generate customized object layer code. For more information, see How to: Customize Object Layer Code Generation.

 

Model-First Support

The Create Database Wizard enables you to do conceptual modeling first, and then create a database that supports the model. For more information, see How to: Generate a Database from a Conceptual Model.

 

Complex Type Support in the Entity Data Model Designer

The ADO.NET Entity Data Model Designer now supports complex types. For more information, see the following topics:

 

Naming Service

The Entity Data Model Wizard and the Update Model Wizard provide the option of using singular or plural forms of Entity, EntitySet, and NavigationProperty names to make application code more readable. For more information, see Choose Your Database Objects Dialog Box (Entity Data Model Wizard) and Choose Your Database Objects Dialog Box (Update Model Wizard).

 

Improved Model Browser Functionality

The Model Browser window of the ADO.NET Entity Data Model Designer enables you to delete objects from the storage model and to search the conceptual and storage models for a specified string. For more information, see Model Browser Window and How to: Delete Objects from the Storage Model.

User-Defined Functions (Entity SQL)

Entity SQL supports calling user-defined functions in a query. For more information, see User-Defined Functions (Entity SQL).

Comments

  • Anonymous
    May 21, 2009
    PingBack from http://microsoft-sharepoint.simplynetdev.com/updated-entity-framework-documentation-for-beta1/

  • Anonymous
    May 21, 2009
    I cannot find the documentation on how to create a custom Object Context using the 'Agile' methodology (no .edmx) shown at PDC. Can you point the way?

  • Anonymous
    May 21, 2009
    @lynn eriksen, This did not make it into the Beta 1 bits you have.  We are looking at getting these bits into your hands fairly shortly.  Stay tuned to the blog for more details.  In the Beta 1 bits we still require the CSDL/MSL/SSDL files to work with your POCO classes. Carl

  • Anonymous
    May 21, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    May 21, 2009
    I don't see any mention of foreign key support.  Did the feature mentioned EF Design blog make into beta 1? http://blogs.msdn.com/efdesign/archive/2009/03/16/foreign-keys-in-the-entity-framework.aspx

  • Anonymous
    May 21, 2009
    @Josh, FK support did not make it into Beta 1.  It will be in the next drop that is available to everybody. Carl

  • Anonymous
    May 21, 2009
    Visual Studio 2010/.NET Framework 4.0 Scott Hanselman - CLR and DLR and BCL, oh my! - Whirlwind Tour Around .NET 4 (and Visual Studio 2010) Beta 1 Scott Hanselman - Demo Dashboard and IDE Extensions - Whirlwind Tour Around .NET 4 (and Visual Studio 2010)

  • Anonymous
    May 22, 2009
    The comment has been removed

  • Anonymous
    May 25, 2009
    このところ、書籍の執筆とWindows7でなかなか手に付かなかったのですが、実は次期Visual StudioのBetaがリリースされてます。 Visual Studio 2010 and .NET Framework

  • Anonymous
    July 19, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    April 14, 2010
    I can't believe you guys spent the time to implement model-first development, but don't have true POCO support ready for the .NET 4 release.  This was the one feature serious developers were really waiting for.  It seems once again Microsoft's support for TDD is an afterthough.  Pity.