Sample ADO.NET Entity Framework Provider - Beta 2
We've updated the sample provider to work with Beta 2 of the ADO.NET Entity Framework. The sample provider is available here.
The sample provider has undergone some minor changes in moving from Beta 1 to Beta 2.
The DbProviderServices class has been enhanced to support returning the mapping file that the EdmGen.exe command-line tool uses to retrieve schema information from the database. This new approach leverages the Entity Framework's mapping functionality and the provider's SQL-gen layer to map conceptual table, view, column, etc. schema information to the database's actual system tables. The end result is that EdmGen.exe can retrieve database schema information in a provider agnostic fasion.
Also, the SQL generation layer within the sample provider has been enhanced to support the new canonical function capabilities added in Beta 2 of the ADO.NET Entity Framework.
As with previous builds, the sample provider wraps System.Data.SqlClient and demonstrates the functionality a provider needs to add in order to support the ADO.NET Entity Framework. The solution that contains the sample provider also includes a modified version of the Entity Framework Query Samples project. The modified project uses the sample provider rather than System.Data.SqlClient.
If you're writing an ADO.NET provider for Orcas and you're not already in touch with me, please drop me a line at David (dot) Sceppa (at) microsoft (dot) com. Enjoy!