Class NpgsqlBatchCommand
Inheritance
NpgsqlBatchCommand
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlBatchCommand : DbBatchCommand
Constructors
NpgsqlBatchCommand()
Declaration
public NpgsqlBatchCommand()
NpgsqlBatchCommand(String)
Declaration
public NpgsqlBatchCommand(string commandText)
Parameters
Properties
CommandText
Declaration
public override string CommandText { get; set; }
Property Value
Overrides
CommandType
Declaration
public override CommandType CommandType { get; set; }
Property Value
Overrides
DbParameterCollection
Declaration
protected override DbParameterCollection DbParameterCollection { get; }
Property Value
Overrides
OID
For an INSERT, the object ID of the inserted row if RecordsAffected is 1 and
the target table has OIDs; otherwise 0.
Declaration
Property Value
Parameters
Declaration
public NpgsqlParameterCollection Parameters { get; }
Property Value
RecordsAffected
Declaration
public override int RecordsAffected { get; }
Property Value
Overrides
Rows
The number of rows affected or retrieved.
Declaration
public ulong Rows { get; }
Property Value
Remarks
StatementType
Specifies the type of query, e.g. SELECT.
Declaration
public StatementType StatementType { get; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Overrides