N-Tier Improvements for Entity Framework

We have recently published an article on API changes that we want to make in next version of Entity Framework in order to enable more N-Tier scenarios. Getting this right is very important to us and we’re interested in getting as much of your feedback on the proposed design as possible. Please read and comment…


Using EF Oracle Sample Provider with EDM Designer

Many people are asking if it is possible to use EFOracleProvider with EDM Designer in Visual Studio 2008 SP1. The answer is yes, but because the sample doesn’t include a DDEX provider required for VS integration, there are certain steps that have to be run manually. I’ve compiled a step-by-step guide for those interested in…


EF POCO Adapter updated (v1.03)

I’ve just posted another round of updates to EF POCO Adapter based on feedback from users. This set of changes is focused on N-tier scenarios and detached entities (it adds missing wrappers for EF APIs and fixes behavior of existing ones). Change log: Added wrapper for ObjectContext.ApplyPropertyChanges() to IEntitySet<T> Added wrapper for ObjectContext.Detach() to IEntitySet<T>…


EF POCO Adapter updated (v1.02)

I’ve just posted updates to EF POCO Adapter (v1.02) which resolves a couple of issues spotted by users: Detached proxies (created by EFPocoContxt.CreateObject<T>) as well as proxies in the Added state were failing on property navigation. This has been fixed, and the property navigation doesn’t attempt the load in one of these states. Thanks to…


Persistence Ignorance (POCO) Adapter for Entity Framework V1

One of the limitations of Entity Framework V1 released as part of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 is lack of support for POCO entity objects. POCO stands for Plain Old CLR Object and refers to an object that does not have any persistence concerns and is not aware of persistence framework….


Transparent Caching Support for Entity Framework one-pager

We’ve just posted a one-pager on transparent caching support in Entity Framework on our EFDesign blog. http://blogs.msdn.com/efdesign/archive/2008/07/09/transparent-caching-support-in-the-entity-framework.aspx We want to make sure that you will be able to interface EF caching with various caching solutions, so we would be very grateful for comments on proposed ICache interface.


Software Development Meme

I was recently tagged by Danny to answer questions about my programming experience as part of a longer chain letter, so here they are: How old were you when you first started programming I was 8 (some 0x17 years ago) when I got my first computer: Timex 2048 which was ZX Spectrum clone sold in…


Sample Entity Framework Provider for Oracle

I wanted to let you know that we have just released Sample Entity Framework Provider for Oracle on MSDN Code Gallery. http://code.msdn.com/EFOracleProvider The provider is implemented using essentially the same technique as EFSampleProvider, but targets System.Data.OracleClient instead of System.Data.SqlClient. The provider is compatible with Visual Studio SP1 Beta and the code is released under Microsoft…


EF Mapping Advisor

Ju-Yi Kuo from our team has started blogging about advanced mapping scenarios supported by Entity Framework. Part 1 of his EF Mapping Advisor series is online at http://blogs.msdn.com/juyik/archive/2008/05/21/ef-mapping-advisor-1-the-language-of-mapping-part-a.aspx and it explains TPT (table-per-type) mapping strategy.


Entity Framework Sample Provider for Visual Studio 2008 SP1 Beta is Online

We have just published an updated Sample ADO.NET Provider for Entity Framework.  Changes in the provider APIs since Beta3 release: removed DbProviderServices.GetProviderManifest(DbConnection) added DbProviderServices.GetProviderManifestToken(DbConnection) completely redesigned CSDL/SSDL/MSL for SchemaInformation changed the format of the provider manifest XML: – DefaultValue vs Default – removed facets from functions added DbProviderManifest.Token/DbProviderManifest.Provider properties Provider writers can get the source code from MSDN…