DbCommandBuilder.GetSchemaTable(DbCommand) 方法

定义

返回 DbCommandBuilder 的架构表。Returns the schema table for the DbCommandBuilder.

protected:
 virtual System::Data::DataTable ^ GetSchemaTable(System::Data::Common::DbCommand ^ sourceCommand);
protected virtual System.Data.DataTable GetSchemaTable (System.Data.Common.DbCommand sourceCommand);
abstract member GetSchemaTable : System.Data.Common.DbCommand -> System.Data.DataTable
override this.GetSchemaTable : System.Data.Common.DbCommand -> System.Data.DataTable
Protected Overridable Function GetSchemaTable (sourceCommand As DbCommand) As DataTable

参数

sourceCommand
DbCommand

要为其检索对应架构表的 DbCommandThe DbCommand for which to retrieve the corresponding schema table.

返回

表示特定 DataTable 的架构的 DbCommandA DataTable that represents the schema for the specific DbCommand.

注解

此方法旨在供提供程序编写器生成自定义命令生成器使用。This method is intended for use by provider writers building a custom command builder.

适用于

另请参阅