Browse by Tags

Code Only – Further Enhancements
12 October 09 06:31 PM | efdesign | 22 Comments   
We’ve come a long way since the last post on Code-Only . So it’s high time for another update. We’ve been working really hard on Code-Only revving the design, and spotting missing capabilities and responding to feedback both internal and external etc. Read More...
Extending the Entity Framework Provider Model to support DDL
06 October 09 07:24 PM | efdesign | 6 Comments   
As part of the first previews of Code-Only we shared some code to create a database: // Create a context using code-only using (var mycontext = builder.Create(dbConnection)) {     // Create the database if it doesn’t already exist     Read More...
LINQ to SQL to Entity Framework conversion template
13 August 09 10:10 PM | efdesign | 4 Comments   
Many customers have asked us how to port a LINQ to SQL application to the Entity Framework. In order to make this process easier, we have developed a metadata conversion template. This template converts LINQ to SQL metadata (.dbml) to metadata compatible Read More...
Code Only Enhancements
03 August 09 11:11 PM | efdesign | 30 Comments   
We've been working hard on Code Only since the first preview . In the next release you will be able to specify: Navigation Property Inverses. Property Facets, like Nullability , MaxLength , Precision etc. Property to Column mappings Type to Table(s) mappings Read More...
Code Only
10 June 09 09:04 PM | efdesign | 27 Comments   
There are currently two ways to get Entity Framework apps up and running, we call these Database First and Model First respectively. Database First has been with us since .NET 3.5 SP1, and involves reverse engineering an Entity Data Model from an existing Read More...
Foreign Keys in the Entity Framework
16 March 09 09:47 PM | efdesign | 35 Comments   
Background A number of months ago we asked whether Foreign Keys (FKs) in Conceptual and Object models were important. The feedback we got indicated that there are a real mix of opinions on the topic. Some people are all for them while others think that Read More...
Customizing Entity Classes in VS 2010
22 January 09 07:15 PM | efdesign | 23 Comments   
When VS 2010 ships it will include some significant improvements to our code generation story for the Entity Framework. The basic idea is to make use of T4 templates for code generation and ship strong integration into the Entity Framework Designer to Read More...
Model Defined Functions
07 January 09 08:32 PM | efdesign | 21 Comments   
Today the Entity Framework, and more specifically the Entity Data Model, have a limited notion of Functions. We are currently restricted to Function Imports that allow stored procedures to be invoked, and Canonical / Store Functions for database independent Read More...
Pluralization
02 December 08 12:20 AM | efdesign | 13 Comments   
Unfortunately in the current version of the Entity Framework, which ships in .NET 3.5 SP1, we don't make any attempt to Singularize or Pluralize names when reverse engineering a model from the database. So if, for example, your database has a table called Read More...
N-Tier Improvements for Entity Framework
20 November 08 05:33 AM | efdesign | 51 Comments   
The first version of Entity Framework provides convenient ways to load, manipulate and persist objects and relationships. As with many other O/RMs, Entity Framework has a state manager that tracks every change made. Existing objects are typically loaded Read More...
Foreign Keys in the Conceptual and Object Models
27 October 08 05:48 PM | efdesign | 36 Comments   
If you are reading this, you have probably heard by now about the so called impedance mismatch between the relational world and the object world – and there are a number of concepts in the relational database that don’t translate easily to corresponding Read More...
EDM and Store functions exposed in LINQ
08 October 08 09:37 AM | efdesign | 13 Comments   
In this post Colin Meek and Diego Vega delve into some enhancements we are planning for LINQ to Entities, anyway over to them... Entity Framework v1 customers preferring to write their queries using LINQ often hit a limitation on the range of functions Read More...
Model First
10 September 08 09:55 PM | efdesign | 42 Comments   
One of the most painful omissions from the Entity Framework V1 was Model First, which basically means creating a conceptual 'model first' and then deriving a storage model, database and mappings from that. People ask for this scenario all the time in Read More...
Structural Annotations - One Pager
12 August 08 08:50 PM | efdesign | 3 Comments   
In V1 of the Entity Framework it is possible to annotate a schema using attributes declared in another XSD. However XML attributes are a very limited form of annotation. It would be better if we could annotate using full elements. This is what we are Read More...
Discussion about API changes necessary for POCO:
01 August 08 05:24 PM | efdesign | 20 Comments   
Evolving an API to support new requirements, like POCO, while maintaining backward compatibility is challenging. The following design discussion from members of the Object Services team illustrates some of the issues and hard calls involved. Have a read, Read More...
More Posts Next page »

Search

This Blog

Syndication

Page view tracker