Browse by Tags

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...
Using Stored Procedures to load structured data.
18 July 08 06:59 PM | efdesign | 6 Comments   
V1 of the Entity Framework allows you to use stored procedures in two main ways: Mapping Create, Update and Delete entity operations to appropriate stored procedures. Doing a FunctionImport that allows you to return an enumeration of Entities* Now the Read More...
Transparent Caching Support in the Entity Framework
09 July 08 09:43 PM | efdesign | 14 Comments   
The Entity Framework's provider model makes it possible for it to work over different database's. The idea being that someone, either the database vendor or a third party, can write a provider that allows the Entity Framework to work with that database. Read More...
Computed Properties One Pager
27 June 08 10:21 PM | efdesign | 17 Comments   
UPDATE: this blog post is out of date. Please review this instead. If you've been paying attention to what the Entity Framework team has been saying. You will remember hearing us talk about using the Entity Data Model (EDM) as a common way of describing Read More...
Initial POCO Design Screencast
24 June 08 06:36 PM | dpblogs | 11 Comments   
Two guys on the team knocked out this quick screencast of some of the prototype work we've been doing around POCO an the State Manager. It's not a long or in depth screencast, but we're hoping to inspire some additional feedback. If you prefer to download Read More...
Initial POCO Design 1-Pager
24 June 08 12:20 PM | dpblogs | 26 Comments   
Here is a raw cut and paste for our POCO 1-Pager. We are currently working through the design and have some prototype work going on and we would like to hear your feedback. Note this is the "feature design 1-Pager" not the "implementation design 1-Pager" Read More...

Search

This Blog

Syndication

Page view tracker