Hello Dave,
As far as I research, there are three override GetSchema methods of the
ODBCConnection. They are documented in the following
OdbcConnection.GetSchema(),
http://msdn.microsoft.com/en-us/library/ms135851.aspx
OdbcConnection.GetSchema(String),
http://msdn.microsoft.com/en-us/library/ms135852.aspx
OdbcConnection.GetSchema(String, String[]),
http://msdn.microsoft.com/en-us/library/ms135853.aspx.
I think we can use the reflector to see what caller/callee relations are
there in these three GetSchema methods. The following disassembly codes are
got from the reflector,
public override DataTable GetSchema()
{
return this.GetSchema(DbMetaDataCollectionNames.MetaDataCollections,
null);
}
public override DataTable GetSchema(string collectionName)
{
return this.GetSchema(collectionName, null);
}
public override DataTable GetSchema(string collectionName, string[]
restrictionValues)
{
ExecutePermission.Demand();
return this.InnerConnection.GetSchema(this.ConnectionFactory,
this.PoolGroup, this, collectionName, restrictionValues);
}
The first and second GetSchema method calls into the GetSchema(String,
String[]). And they all goes into the InnerConnection's GetSchema() method.
Are these you want?
Best regards,
Colbert Zhou (colbertz @online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.