แก้ไข

แชร์ผ่าน


DbBatchCommand Class

Definition

Represents a single command within a DbBatch. A batch can be executed against a data source in a single round trip.

public ref class DbBatchCommand abstract
public abstract class DbBatchCommand
type DbBatchCommand = class
Public MustInherit Class DbBatchCommand
Inheritance
DbBatchCommand

Constructors

DbBatchCommand()

Constructs an instance of the DbBatchCommand object.

Properties

CanCreateParameter
CommandText

Gets or sets the text command to run against the data source.

CommandType

Gets or sets how the CommandText property is interpreted.

DbParameterCollection

Gets the collection of DbParameter objects.

Parameters

Gets the collection of DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types.

RecordsAffected

Gets the number of rows changed, inserted, or deleted by execution of this specific DbBatchCommand.

Methods

CreateParameter()
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to