• Entity Framework Design

    Data Annotations in the Entity Framework and Code First

    • 50 Comments
    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

    Foreign Keys in the Entity Framework

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

    Productivity Improvements for the Entity Framework

    • 51 Comments
    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

    Conventions for Code First

    • 48 Comments
    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

    Self-Tracking Entities in the Entity Framework

    • 72 Comments
    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

    Customizing Entity Classes in VS 2010

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

    Enumeration Support in Entity Framework

    • 18 Comments
    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

    Unique Constraints in the Entity Framework

    • 43 Comments
    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

    N-Tier Improvements for Entity Framework

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

    Code First Database Evolution (aka Migrations)

    • 45 Comments
    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

    Data Binding with DbContext

    • 19 Comments
    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

    Table-Valued Function Support

    • 16 Comments
    One of the key features coming in the next release of Entity Framework is Table-Valued Function support. It is a very popular customer request and we have been working diligently to design a solution that we hope you find simple, yet useful. This design...
  • Entity Framework Design

    Discussion about API changes necessary for POCO:

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

    Code Only – Further Enhancements

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

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

    • 23 Comments
    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

    Code Only

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

    Spatial Types in the Entity Framework

    • 24 Comments
    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

    POCO Template Code Generation Options

    • 17 Comments
    We recently released an updated version of the POCO template that works with Visual Studio 2010 RC on the Visual Studio Gallery. In this post we will delve into the various possible code generation options for future releases of the POCO template. We...
  • Entity Framework Design

    EDM and Store functions exposed in LINQ

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

    Transparent Caching Support in the Entity Framework

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

    Model First

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

    Announcing the release of Entity Framework 4

    • 16 Comments
    The first release of Entity Framework shipped in .NET Framework 3.5 SP1 and Visual Studio 2008. Since then, we have been focused on incorporating your feedback and enabling the scenarios that you wanted us to work on. The feedback we have received through...
  • Entity Framework Design

    Transparency in the design process

    • 58 Comments
    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

    Foreign Keys in the Conceptual and Object Models

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

    Enums in the Entity Designer

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