Se acaba de anunciar la disponibilidad de la Beta 2 del Entity Framework de Microsoft:
Entity Framework Beta 2 & the 1st Entity Framework Tools CTP Released!
Por un lado tenemos
Entity Framework Beta 2
para bajarnos, y un conjunto de herramientas
Entity Framework Tools CTP
Hay ejemplos en aquí
Siempre pueden seguir su desarrollo siguiendo y participando del blog del ADO.NET Team:
http://blogs.msdn.com/adonet/
¿Qué es el Entity Framework? Bueno, es algo difícil de resumir, pero permite manejar un modelo de objetos (con relaciones entre ellos), expresados en .NET que persisten, gracias a Providers escritos, a distintas bases de datos relacionales (al parecer en Microsoft, han advertido que hay vida más allá del MS SQL Server..;-). Ahora el team se está concentrando en escenarios "la base de datos ya está", y veremos qué pasa con esta movida: ¿podrá suplantar al NHibernate?
Tiene un lenguaje que describe el modelo, de una forma que me pareció rica, más interesante que un ORM.
Pueden leer una introducción al tema en un artículo del 2006:
The ADO.NET Entity Framework Overview
Algunas características que aparecieron:
Entity Designer
- Generate a model from a database (via wizard) and display it on the designer surface
- Edit conceptual model properties (namespace, alias, etc.)
- Control visual aspects of the design surface (layout) and persist changes
- Add, Delete, and Edit Entities; Scalar properties; Associations; and Inheritance
- Automatic set management
- Automatic Navigation property management
- Error reporting
- Validate model and mappings using Entity Framework Runtime
Entity Mapping
- View the mapping for a C-Side Entity or Association
- Rename or delete C-Side objects without worrying about mapping
- Map an EntityType to multiple tables
- Apply multiple conditions to a table mapping
- Map associations
- Automatic generation of conditions and referential constraints on associations
- TPH: Map an Entity hierarchy to a single table
- TPT: Map an Entity hierarchy to multiple tables
Entity Model Browser
- Understand and visualize the model in a tree hierarchy
- Visually relate shapes on the designer surface with hierarchy in model
Visual Studio Integration
- Support for C# and VB in multiple project types: ASP.NET Web site, ASP.NET Web Application Project, Console, WinForms, and Library
- Project system integration: item template for .edmx file, model generation wizard, EdmxDeploy.exe, and Entity Framework validation on build
- Support for multiple Visual Studio editions: Express, Standard, Pro, and VSTS.
Gracias a Paulo Arancibia por el aviso, y a Martín Salías por algunos detalles de providers.
Nos leemos!
Angel "Java" Lopez
http://www.ajlopez.com/