When we split the SqlClient provider extensions for EF from EntityFramework.dll, we found that the internal provider was caching SQL fragments associated with EntitySets in EntitySetBase.CachedProviderSql. For the time being we have removed the caching and are just re-generating the SQL every time, but we should consider allowing user data in MetadataItems in general. Hypothetically this could be useful for all providers and have other applications.
↧