SqlDataAdapter 类

定义

表示用于填充 DataSet 和更新 SQL Server 数据库的一组数据命令和一个数据库连接。Represents a set of data commands and a database connection that are used to fill the DataSet and update a SQL Server database. 此类不能被继承。This class cannot be inherited.

public ref class SqlDataAdapter sealed : System::Data::Common::DbDataAdapter, ICloneable
public sealed class SqlDataAdapter : System.Data.Common.DbDataAdapter, ICloneable
type SqlDataAdapter = class
    inherit DbDataAdapter
    interface IDbDataAdapter
    interface IDataAdapter
    interface ICloneable
Public NotInheritable Class SqlDataAdapter
Inherits DbDataAdapter
Implements ICloneable
继承
实现

示例

下面的示例SqlCommand使用、 SqlDataAdapterSqlConnection从数据库中DataSet选择记录,并使用所选行填充。The following example uses the SqlCommand, SqlDataAdapter, and SqlConnection to select records from a database and populate a DataSet with the selected rows. 然后返回DataSet填充的。The filled DataSet is then returned. 为实现此目的,会将方法传递给DataSet已初始化的、连接字符串和作为 transact-sql SELECT 语句的查询字符串。To accomplish this, the method is passed an initialized DataSet, a connection string, and a query string that is a Transact-SQL SELECT statement.

private static DataSet SelectRows(DataSet dataset,
    string connectionString,string queryString) 
{
    using (SqlConnection connection = 
        new SqlConnection(connectionString))
    {
        SqlDataAdapter adapter = new SqlDataAdapter();
        adapter.SelectCommand = new SqlCommand(
            queryString, connection);
        adapter.Fill(dataset);
        return dataset;
    }
}

Public Function SelectRows( _
    ByVal dataSet As DataSet, ByVal connectionString As String, _
    ByVal queryString As String) As DataSet

    Using connection As New SqlConnection(connectionString)
        Dim adapter As New SqlDataAdapter()
        adapter.SelectCommand = New SqlCommand( _
            queryString, connection)
        adapter.Fill(dataSet)
        Return dataSet
    End Using
End Function

注解

作为检索和保存数据的DataSet和 SQL Server 之间的桥梁。 SqlDataAdapterThe SqlDataAdapter, serves as a bridge between a DataSet and SQL Server for retrieving and saving data. DataSet DataSet Update通过映射SqlDataAdapter Fill提供此桥,这将更改中的数据,使其与数据源中的数据相匹配,并将数据源中的数据更改为与中的数据相匹配,并使用针对数据源的适当 Transact-sql 语句。The SqlDataAdapter provides this bridge by mapping Fill, which changes the data in the DataSet to match the data in the data source, and Update, which changes the data in the data source to match the data in the DataSet, using the appropriate Transact-SQL statements against the data source. 更新按行执行。The update is performed on a by-row basis. 对于每个插入行、已修改行和已Update删除行,该方法将确定对其执行的更改类型InsertUpdate、或Delete)。For every inserted, modified, and deleted row, the Update method determines the type of change that has been performed on it (Insert, Update, or Delete). 根据更改的类型,将Insert执行、 UpdateDelete命令模板,以将修改后的行传播到数据源。Depending on the type of change, the Insert, Update, or Delete command template executes to propagate the modified row to the data source. SqlDataAdapterDataSet填充时,它将为返回的数据创建必要的表和列(如果它们尚不存在)。When the SqlDataAdapter fills a DataSet, it creates the necessary tables and columns for the returned data if they do not already exist. 但是,除非将MissingSchemaAction属性设置为AddWithKey,否则不会在隐式创建的架构中包含主键信息。However, primary key information is not included in the implicitly created schema unless the MissingSchemaAction property is set to AddWithKey. 你还可以在SqlDataAdapter使用FillSchema数据填充数据之前, DataSet创建的架构(包括主键信息)。You may also have the SqlDataAdapter create the schema of the DataSet, including primary key information, before filling it with data using FillSchema. 有关详细信息,请参阅将现有约束添加到数据集For more information, see Adding Existing Constraints to a DataSet.

SqlDataAdapterSqlConnection和结合使用, SqlCommand以提高连接到 SQL Server 数据库时的性能。SqlDataAdapter is used in conjunction with SqlConnection and SqlCommand to increase performance when connecting to a SQL Server database.

备注

如果您要通过 SQL Server 存储过程使用 DataAdapter 来编辑或删除数据,请确保不要在存储过程定义中使用 SET NOCOUNT ON。If you are using SQL Server stored procedures to edit or delete data using a DataAdapter, make sure that you do not use SET NOCOUNT ON in the stored procedure definition. 这将使返回的受影响的行数为零,DataAdapter 会将其解释为并发冲突。This causes the rows affected count returned to be zero, which the DataAdapter interprets as a concurrency conflict. 在这种情况下,将引发 DBConcurrencyExceptionIn this event, a DBConcurrencyException will be thrown.

SqlDataAdapter InsertCommand还包括DeleteCommand、、 、和TableMappings属性,以便于加载和更新数据。 UpdateCommand SelectCommandThe SqlDataAdapter also includes the SelectCommand, InsertCommand, DeleteCommand, UpdateCommand, and TableMappings properties to facilitate the loading and updating of data.

创建的SqlDataAdapter实例时,读/写属性将设置为初始值。When an instance of SqlDataAdapter is created, the read/write properties are set to initial values. 有关这些值的列表,请参见SqlDataAdapter构造函数。For a list of these values, see the SqlDataAdapter constructor.

InsertCommand、和是UpdateCommand使用每个修改行中的单个值自动填充的通用模板,通过参数机制。 DeleteCommandThe InsertCommand, DeleteCommand, and UpdateCommand are generic templates that are automatically filled with individual values from every modified row through the parameters mechanism.

Update对于传播到上的数据源的每个列,应将参数添加InsertCommand到、 UpdateCommandDeleteCommandFor every column that you propagate to the data source on Update, a parameter should be added to the InsertCommand, UpdateCommand, or DeleteCommand. SourceColumnDbParameter对象的属性设置为列的名称。The SourceColumn property of the DbParameter object should be set to the name of the column. 此设置指示参数的值不是手动设置的,而是从当前处理的行中的特定列获取的。This setting indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.

备注

如果调用了方法并且该表包含客户端计算机上不可用的用户定义类型,则会发生。 Fill InvalidOperationExceptionAn InvalidOperationException will occur if the Fill method is called and the table contains a user-defined type that is not available on the client computer. 有关详细信息,请参阅CLR 用户定义类型For more information, see CLR User-Defined Types.

构造函数

SqlDataAdapter()

初始化 SqlDataAdapter 类的新实例。Initializes a new instance of the SqlDataAdapter class.

SqlDataAdapter(SqlCommand)

初始化 SqlDataAdapter 类的新实例,用指定的 SqlCommand 作为 SelectCommand 的属性。Initializes a new instance of the SqlDataAdapter class with the specified SqlCommand as the SelectCommand property.

SqlDataAdapter(String, SqlConnection)

使用 SqlDataAdapterSelectCommand 对象初始化 SqlConnection 类的一个新实例。Initializes a new instance of the SqlDataAdapter class with a SelectCommand and a SqlConnection object.

SqlDataAdapter(String, String)

SqlDataAdapter 和一个连接字符串初始化 SelectCommand 类的一个新实例。Initializes a new instance of the SqlDataAdapter class with a SelectCommand and a connection string.

字段

DefaultSourceTableName

DataAdapter 对象用于表映射的默认名称。The default name used by the DataAdapter object for table mappings.

(继承自 DbDataAdapter)

属性

AcceptChangesDuringFill

获取或设置一个值,该值指示在任何 Fill 操作过程中,在将 AcceptChanges() 添加到 DataRow 之后是否在 DataTable 上调用它。Gets or sets a value indicating whether AcceptChanges() is called on a DataRow after it is added to the DataTable during any of the Fill operations.

(继承自 DataAdapter)
AcceptChangesDuringUpdate

获取或设置在 AcceptChanges() 期间是否调用 Update(DataSet)Gets or sets whether AcceptChanges() is called during a Update(DataSet).

(继承自 DataAdapter)
CanRaiseEvents

获取一个指示组件是否可以引发事件的值。Gets a value indicating whether the component can raise an event.

(继承自 Component)
Container

获取 IContainer,它包含 ComponentGets the IContainer that contains the Component.

(继承自 Component)
ContinueUpdateOnError

获取或设置一个值,该值指定在行更新过程中遇到错误时是否生成异常。Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.

(继承自 DataAdapter)
DeleteCommand

获取或设置一个 Transact-SQL 语句或存储过程,以从数据集删除记录。Gets or sets a Transact-SQL statement or stored procedure to delete records from the data set.

DesignMode

获取一个值,用以指示 Component 当前是否处于设计模式。Gets a value that indicates whether the Component is currently in design mode.

(继承自 Component)
Events

获取附加到此 Component 的事件处理程序的列表。Gets the list of event handlers that are attached to this Component.

(继承自 Component)
FillCommandBehavior

获取或设置用于填充数据适配器的命令的行为。Gets or sets the behavior of the command used to fill the data adapter.

(继承自 DbDataAdapter)
FillLoadOption

获取或设置 LoadOption,后者确定适配器如何从 DataTable 中填充 DbDataReaderGets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.

(继承自 DataAdapter)
InsertCommand

获取或设置一个 Transact-SQL 语句或存储过程,以在数据源中插入新记录。Gets or sets a Transact-SQL statement or stored procedure to insert new records into the data source.

MissingMappingAction

确定传入数据没有匹配的表或列时需要执行的操作。Determines the action to take when incoming data does not have a matching table or column.

(继承自 DataAdapter)
MissingSchemaAction

确定现有 DataSet 架构与传入数据不匹配时需要执行的操作。Determines the action to take when existing DataSet schema does not match incoming data.

(继承自 DataAdapter)
ReturnProviderSpecificTypes

获取或设置 Fill 方法是应当返回提供程序特定的值,还是返回公用的符合 CLS 的值。Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.

(继承自 DataAdapter)
SelectCommand

获取或设置一个 Transact-SQL 语句或存储过程,用于在数据源中选择记录。Gets or sets a Transact-SQL statement or stored procedure used to select records in the data source.

Site

获取或设置 ComponentISiteGets or sets the ISite of the Component.

(继承自 Component)
TableMappings

获取一个集合,它提供源表和 DataTable 之间的主映射。Gets a collection that provides the master mapping between a source table and a DataTable.

(继承自 DataAdapter)
UpdateBatchSize

获取或设置每次到服务器的往返过程中处理的行数。Gets or sets the number of rows that are processed in each round-trip to the server.

UpdateCommand

获取或设置一个 Transact-SQL 语句或存储过程,用于更新数据源中的记录。Gets or sets a Transact-SQL statement or stored procedure used to update records in the data source.

方法

AddToBatch(IDbCommand)

向当前批处理添加 IDbCommandAdds a IDbCommand to the current batch.

(继承自 DbDataAdapter)
ClearBatch()

从批处理中移除所有 IDbCommand 对象。Removes all IDbCommand objects from the batch.

(继承自 DbDataAdapter)
CloneInternals()

创建此 DataAdapter 实例的一个副本。Creates a copy of this instance of DataAdapter.

(继承自 DataAdapter)
CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(继承自 MarshalByRefObject)
CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping)

初始化 RowUpdatedEventArgs 类的新实例。Initializes a new instance of the RowUpdatedEventArgs class.

(继承自 DbDataAdapter)
CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping)

初始化 RowUpdatingEventArgs 类的新实例。Initializes a new instance of the RowUpdatingEventArgs class.

(继承自 DbDataAdapter)
CreateTableMappings()

创建一个新的 DataTableMappingCollectionCreates a new DataTableMappingCollection.

(继承自 DataAdapter)
Dispose()

释放由 Component 使用的所有资源。Releases all resources used by the Component.

(继承自 Component)
Dispose(Boolean)

释放由 DbDataAdapter 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the DbDataAdapter and optionally releases the managed resources.

(继承自 DbDataAdapter)
Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
ExecuteBatch()

执行当前批处理。Executes the current batch.

(继承自 DbDataAdapter)
Fill(DataSet)

DataSet 中添加或刷新行。Adds or refreshes rows in the DataSet.

(继承自 DbDataAdapter)
Fill(DataSet, Int32, Int32, String)

DataSet 的指定范围中添加或刷新行以匹配使用 DataSetDataTable 名称的数据源中的行。Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.

(继承自 DbDataAdapter)
Fill(DataSet, Int32, Int32, String, IDbCommand, CommandBehavior)

使用 DataSet 和源表名称、命令字符串以及命令行为,在 DataSet 的指定范围中添加或刷新某些行以使它们与数据源中对应的行相一致。Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and source table names, command string, and command behavior.

(继承自 DbDataAdapter)
Fill(DataSet, String)

DataSet 中添加或刷新行以匹配使用 DataSetDataTable 名称的数据源中的行。Adds or refreshes rows in the DataSet to match those in the data source using the DataSet and DataTable names.

(继承自 DbDataAdapter)
Fill(DataSet, String, IDataReader, Int32, Int32)

DataSet 的指定范围中添加或刷新行以与使用 DataSetDataTableIDataReader 名称的数据源中的行进行匹配。Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet, DataTable, and IDataReader names.

(继承自 DbDataAdapter)
Fill(DataTable)

DataSet 的指定范围中添加或刷新行,以与使用 DataTable 名称的数据源中的行匹配。Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataTable name.

(继承自 DbDataAdapter)
Fill(DataTable, IDataReader)

DataTable 中添加或刷新行,以与使用指定的 DataTableIDataReader 名称的数据源中的行匹配。Adds or refreshes rows in a DataTable to match those in the data source using the specified DataTable and IDataReader names.

(继承自 DbDataAdapter)
Fill(DataTable, IDbCommand, CommandBehavior)

DataTable 中添加或刷新行,以与使用指定的 DataTableIDbCommandCommandBehavior 的数据源中的行匹配。Adds or refreshes rows in a DataTable to match those in the data source using the specified DataTable, IDbCommand and CommandBehavior.

(继承自 DbDataAdapter)
Fill(DataTable[], IDataReader, Int32, Int32)

DataTable 对象集合的指定范围中添加或刷新行以与数据源中的行匹配。Adds or refreshes rows in a specified range in the collection of DataTable objects to match those in the data source.

(继承自 DataAdapter)
Fill(DataTable[], Int32, Int32, IDbCommand, CommandBehavior)

DataSet 的指定范围中添加或刷新行以匹配使用 DataSetDataTable 名称的数据源中的行。Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.

(继承自 DbDataAdapter)
Fill(Int32, Int32, DataTable[])

DataTable 中添加或刷新行,以与从指定的记录开始一直检索到指定的最大数目的记录的数据源中的行匹配。Adds or refreshes rows in a DataTable to match those in the data source starting at the specified record and retrieving up to the specified maximum number of records.

(继承自 DbDataAdapter)
FillSchema(DataSet, SchemaType)

将名为“Table”的 DataTable 添加到指定的 DataSet 中,并根据指定的 SchemaType 配置架构以匹配数据源中的架构。Adds a DataTable named "Table" to the specified DataSet and configures the schema to match that in the data source based on the specified SchemaType.

(继承自 DbDataAdapter)
FillSchema(DataSet, SchemaType, IDbCommand, String, CommandBehavior)

DataTable 添加到指定的 DataSet 中,并根据指定的 SchemaType 配置架构以匹配数据源中的架构。Adds a DataTable to the specified DataSet and configures the schema to match that in the data source based on the specified SchemaType.

(继承自 DbDataAdapter)
FillSchema(DataSet, SchemaType, String)

DataTable 添加到指定的 DataSet 中,并根据指定的 SchemaTypeDataTable 配置架构以匹配数据源中的架构。Adds a DataTable to the specified DataSet and configures the schema to match that in the data source based upon the specified SchemaType and DataTable.

(继承自 DbDataAdapter)
FillSchema(DataSet, SchemaType, String, IDataReader)

向指定的 DataTable 添加一个 DataSetAdds a DataTable to the specified DataSet.

(继承自 DataAdapter)
FillSchema(DataTable, SchemaType)

根据指定的 DataTable 配置指定 SchemaType 的架构。Configures the schema of the specified DataTable based on the specified SchemaType.

(继承自 DbDataAdapter)
FillSchema(DataTable, SchemaType, IDataReader)

向指定的 DataTable 添加一个 DataSetAdds a DataTable to the specified DataSet.

(继承自 DataAdapter)
FillSchema(DataTable, SchemaType, IDbCommand, CommandBehavior)

根据指定的 DataTable、命令字符串以及 SchemaType 值配置指定 CommandBehavior 的架构。Configures the schema of the specified DataTable based on the specified SchemaType, command string, and CommandBehavior values.

(继承自 DbDataAdapter)
GetBatchedParameter(Int32, Int32)

从当前批处理中的其中一个命令返回一个 IDataParameterReturns a IDataParameter from one of the commands in the current batch.

(继承自 DbDataAdapter)
GetBatchedRecordsAffected(Int32, Int32, Exception)

返回与较大的批处理更新内的单次更新尝试有关的信息。Returns information about an individual update attempt within a larger batched update.

(继承自 DbDataAdapter)
GetFillParameters()

获取当执行 SQL SELECT 语句时由用户设置的参数。Gets the parameters set by the user when executing an SQL SELECT statement.

(继承自 DbDataAdapter)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetLifetimeService()

检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(继承自 MarshalByRefObject)
GetService(Type)

返回一个对象,该对象表示由 Component 或它的 Container 提供的服务。Returns an object that represents a service provided by the Component or by its Container.

(继承自 Component)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
HasTableMappings()

指示是否已创建了一个 DataTableMappingCollectionIndicates whether a DataTableMappingCollection has been created.

(继承自 DataAdapter)
InitializeBatching()

初始化 DbDataAdapter 的批处理。Initializes batching for the DbDataAdapter.

(继承自 DbDataAdapter)
InitializeLifetimeService()

获取生存期服务对象来控制此实例的生存期策略。Obtains a lifetime service object to control the lifetime policy for this instance.

(继承自 MarshalByRefObject)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object.

(继承自 MarshalByRefObject)
OnFillError(FillErrorEventArgs)

引发 FillError 事件。Raises the FillError event.

(继承自 DbDataAdapter)
OnRowUpdated(RowUpdatedEventArgs)

引发 .NET Framework 数据提供程序的 RowUpdated 事件。Raises the RowUpdated event of a .NET Framework data provider.

(继承自 DbDataAdapter)
OnRowUpdating(RowUpdatingEventArgs)

引发 .NET Framework 数据提供程序的 RowUpdating 事件。Raises the RowUpdating event of a .NET Framework data provider.

(继承自 DbDataAdapter)
ResetFillLoadOption()

FillLoadOption 重置为默认状态,并使 Fill(DataSet) 接受 AcceptChangesDuringFillResets FillLoadOption to its default state and causes Fill(DataSet) to honor AcceptChangesDuringFill.

(继承自 DataAdapter)
ShouldSerializeAcceptChangesDuringFill()

确定是否应保持 AcceptChangesDuringFill 属性。Determines whether the AcceptChangesDuringFill property should be persisted.

(继承自 DataAdapter)
ShouldSerializeFillLoadOption()

确定是否应保持 FillLoadOption 属性。Determines whether the FillLoadOption property should be persisted.

(继承自 DataAdapter)
ShouldSerializeTableMappings()

确定一个或多个 DataTableMapping 对象是否存在,并且它们是否应该是持久的。Determines whether one or more DataTableMapping objects exist and they should be persisted.

(继承自 DataAdapter)
TerminateBatching()

结束 DbDataAdapter 的批处理。Ends batching for the DbDataAdapter.

(继承自 DbDataAdapter)
ToString()

返回包含 Component 的名称的 String(如果有)。Returns a String containing the name of the Component, if any. 不应重写此方法。This method should not be overridden.

(继承自 Component)
Update(DataRow[])

通过为 DataSet 中的指定数组中的每个已插入、已更新或已删除的行执行相应的 INSERT、UPDATE 或 DELETE 语句来更新数据库中的值。Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array in the DataSet.

(继承自 DbDataAdapter)
Update(DataRow[], DataTableMapping)

通过为指定的 DataSet 对象数组中的每个已插入、已更新或已删除的行执行相应的 INSERT、UPDATE 或 DELETE 语句来更新数据库中的值。Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array of DataSet objects.

(继承自 DbDataAdapter)
Update(DataSet)

通过为指定的 DataSet 中的每个已插入、已更新或已删除的行执行相应的 INSERT、UPDATE 或 DELETE 语句来更新数据库中的值。Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet.

(继承自 DbDataAdapter)
Update(DataSet, String)

通过为具有指定名称 DataSetDataTable 中的每个已插入、已更新或已删除的行执行相应的 INSERT、UPDATE 或 DELETE 语句来更新数据库中的值。Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet with the specified DataTable name.

(继承自 DbDataAdapter)
Update(DataTable)

通过为指定的 DataTable 中的每个已插入、已更新或已删除的行执行相应的 INSERT、UPDATE 或 DELETE 语句来更新数据库中的值。Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataTable.

(继承自 DbDataAdapter)

事件

Disposed

当通过调用 Dispose() 方法释放组件时发生。Occurs when the component is disposed by a call to the Dispose() method.

(继承自 Component)
FillError

在填充操作过程中出现错误时返回。Returned when an error occurs during a fill operation.

(继承自 DbDataAdapter)
RowUpdated

在对数据源执行命令后的 Update(DataSet) 过程中发生。Occurs during Update(DataSet) after a command is executed against the data source. 尝试进行更新,因此激发了该事件。The attempt to update is made, so the event fires.

RowUpdating

在对数据源执行命令前的 Update(DataSet) 过程中发生。Occurs during Update(DataSet) before a command is executed against the data source. 尝试进行更新,因此激发了该事件。The attempt to update is made, so the event fires.

显式界面实现

ICloneable.Clone()

有关此成员的说明,请参见 Clone()For a description of this member, see Clone().

IDataAdapter.TableMappings

指示如何将源表映射到数据集表。Indicates how a source table is mapped to a dataset table.

(继承自 DataAdapter)
IDbDataAdapter.DeleteCommand

有关此成员的说明,请参见 DeleteCommandFor a description of this member, see DeleteCommand.

IDbDataAdapter.InsertCommand

有关此成员的说明,请参见 InsertCommandFor a description of this member, see InsertCommand.

IDbDataAdapter.SelectCommand

有关此成员的说明,请参见 SelectCommandFor a description of this member, see SelectCommand.

IDbDataAdapter.UpdateCommand

有关此成员的说明,请参见 UpdateCommandFor a description of this member, see UpdateCommand.

适用于

另请参阅