Search Wiki:
Resource Page Description
Sample ADO.NET Provider for Entity Framework


This is a sample that demonstrates new components of ADO.NET Data Providers that support Entity Framework:

  • Provider Manifest
  • EDM Mapping for Schema Information
  • SQL Generation

Sample Provider is implemented as a wrapper on top of System.Data.SqlClient ADO.NET 2.0 Data Provider.

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

Changes in the provider APIs since VS2008 SP1 release:

  • Removed DbProviderManifest.Token and DbProviderManifest.Provider properties
  • Removed DbFunctionExpression.IsLambda
  • Renamed DbFunctionCommandTree.Function to DbFunctionCommandTree.EdmFunction
  • Removed DbCommandTree.Validate()
Last edited Aug 11 2008 at 8:09 PM  by jkowalski, version 6
Comments
sandigul wrote  Jun 30 2008 at 7:59 PM  
Very nice code especially Utility class.

Sandeep
http://www.cityhuntonline.com

Updating...
Page view tracker