RdmDataAdapter(RdmCommand) Constructor

Syntax:

public RdmDataAdapter(RdmCommand command)

Description:

A constructor for the RdmDataAdapter class. Specifying a new RdmDataAdapter object with this constructor generates a new data adapter object with the specified RdmCommand as the SelectCommand and with an empty InsertCommand, UpdateCommand, and DeleteCommand.

Using this constructor is identical to the following commands:

RdmDataAdapter da = new RdmDataAdapter()
da.SelectCommand = command;

Parameters:

command

Type: RdmCommand

Specifies the command to use as the SelectCommand for this data adapter.