Επεξεργασία

Κοινή χρήση μέσω


DbCommandBuilder.GetSchemaTable(DbCommand) Method

Definition

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);
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

Parameters

sourceCommand
DbCommand

The DbCommand for which to retrieve the corresponding schema table.

Returns

A DataTable that represents the schema for the specific DbCommand.

Remarks

This method is intended for use by provider writers building a custom command builder.

Applies to

See also