dazinator / CrmAdo

An ADO.NET Provider for Dynamics Crm
6 stars 4 forks source link

SchemaTableProvider - requires org name #69

Open dazinator opened 9 years ago

dazinator commented 9 years ago

SchemaTableProvider needs the orgname as it's a metadata column in the schema table, however, at the point it is called by the datareader, the DbConnection may not be available - as the DbConnection doesn't have to be given to the data reader. The DbConnection instance has the connectioninfo on it, including the orgname.

Therefore need to provide a way for the SchemaTableProvider to get at the org name relating to the column metadata.