• Entity Framework Design

    Self-Tracking Entities in the Entity Framework

    Background One of the biggest pieces of feedback we received from the N-Tier Improvements for Entity Framework post as well as other sources was: “low level APIs are great, but where is the end-to-end architecture for N-tier and the Entity Framework...
  • Entity Framework Design

    Entity Designer Improvements Preview

    The team has been quietly working on a number of improvements to the entity designer that we would like to show off and get feedback on. This particular set of features is targeted at making modeling more productive and scalable, and models themselves...
  • Entity Framework Design

    Transparency in the design process

    Today marks the first day of engineering for the ADO.NET Entity Framework V2.0. V2 of the product is a combination of a continued investment in our greater data platform vision as well as a focus on new and expanded ORM scenarios. Some of the things that...
  • Entity Framework Design

    N-Tier Improvements for Entity Framework

    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...
  • Entity Framework Design

    Productivity Improvements for the Entity Framework

    Background We’ve been hearing a lot of good feedback on the recently released update to the Entity Framework in .NET 4. This release marks a significant advancement from the first release that shipped with .NET 3.5 SP1. I’m not going to...
  • Entity Framework Design

    Data Annotations in the Entity Framework and Code First

    Data annotation attributes were introduced in .NET 3.5 as a way to add validation to classes used by ASP.NET applications. Since that time , RIA Services has begun using data annotations and they are now part of Silverlight .  Code First allows you...
  • Entity Framework Design

    Conventions for Code First

    The latest preview of Code First allows you to describe a model using C# or VB.Net classes. The basic shape of the model is detected by convention and then a fluent API can be used to further refine your model. We recently posted about our plans to...
  • Entity Framework Design

    Code First Database Evolution (aka Migrations)

    Back in July we released the latest preview of Code First and we’ve been receiving a lot of feedback that is helping us shape this feature. One of the top asks we are hearing is for a solution that will evolve the database schema as your object...
  • Entity Framework Design

    Unique Constraints in the Entity Framework

    Update: this feature has been postponed and will not be included in Entity Framework 5. Unique Constraints in the Entity Framework We’ve been busy working on enabling unique constraints in the Entity Framework. Unique Constraints allow you...
  • Entity Framework Design

    Foreign Keys in the Entity Framework

    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...
  • Entity Framework Design

    Code Only – Further Enhancements

    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...
  • Entity Framework Design

    Model First

    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...
  • Entity Framework Design

    Foreign Keys in the Conceptual and Object Models

    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...
  • Entity Framework Design

    Code Only

    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...
  • Entity Framework Design

    Code Only Enhancements

    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...
  • Entity Framework Design

    Customizing Entity Classes in VS 2010

    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...
  • Entity Framework Design

    Initial POCO Design 1-Pager

    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...
  • Entity Framework Design

    Spatial Types in the Entity Framework

    Pedro Ardila Normal Pedro Ardila 2 5 2011-05-04T21:47:00Z 2011-05-04T21:47:00Z 2 1238 7060 Microsoft Corporation 58 16 8282 14.00 Clean Clean false false...
  • Entity Framework Design

    Auto-Compiled LINQ Queries (Entity Framework June 2011 CTP)

    When you write a LINQ to Entities query today, the Entity Framework walks over the expression tree generated by the C#/VB compiler and translates (or compiles) that into SQL. Compiling the expression tree into SQL involves some overhead though...
  • Entity Framework Design

    Model Defined Functions

    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...
  • Entity Framework Design

    Enums in the Entity Designer

    One of the most highly-requested features for the Entity Framework is first-class support for Enums, and we are happy to provide support for this feature in the Entity Designer in the June 2011 CTP recently released. If you haven’t checked it out...
  • Entity Framework Design

    Data Binding with DbContext

    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. For WPF Data Binding see http://msdn.com/data/jj574514 For WinForms Data Binding see http://msdn.com/data/jj682076...
  • Entity Framework Design

    Discussion about API changes necessary for POCO:

    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...
  • Entity Framework Design

    Enumeration Support in Entity Framework

    We recently shipped Entity Framework 4.1 , and it has been exciting to see the reception the new Code First and DbContext APIs have been getting in the developer community. What is also exciting is to be able to start talking more about other features...
  • Entity Framework Design

    Computed Properties One Pager

    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...
Page 1 of 2 (39 items) 12