Class NpgsqlBatchCommandCollection
- Namespace
- Npgsql
- Assembly
- Npgsql.dll
public class NpgsqlBatchCommandCollection : DbBatchCommandCollection, IList<DbBatchCommand>, ICollection<DbBatchCommand>, IEnumerable<DbBatchCommand>, IList<NpgsqlBatchCommand>, ICollection<NpgsqlBatchCommand>, IEnumerable<NpgsqlBatchCommand>, IEnumerable
- Inheritance
-
NpgsqlBatchCommandCollection
- Implements
-
- Inherited Members
-
Properties
Count
public override int Count { get; }
Property Value
- int
IsReadOnly
public override bool IsReadOnly { get; }
Property Value
- bool
this[int]
public NpgsqlBatchCommand this[int index] { get; set; }
Parameters
index
int
Property Value
- NpgsqlBatchCommand
Methods
Add(NpgsqlBatchCommand)
public void Add(NpgsqlBatchCommand item)
Parameters
item
NpgsqlBatchCommand
Add(DbBatchCommand)
public override void Add(DbBatchCommand item)
Parameters
item
DbBatchCommand
Clear()
public override void Clear()
Contains(NpgsqlBatchCommand)
public bool Contains(NpgsqlBatchCommand item)
Parameters
item
NpgsqlBatchCommand
Returns
- bool
Contains(DbBatchCommand)
public override bool Contains(DbBatchCommand item)
Parameters
item
DbBatchCommand
Returns
- bool
CopyTo(NpgsqlBatchCommand[], int)
public void CopyTo(NpgsqlBatchCommand[] array, int arrayIndex)
Parameters
array
NpgsqlBatchCommand[]
arrayIndex
int
CopyTo(DbBatchCommand[], int)
public override void CopyTo(DbBatchCommand[] array, int arrayIndex)
Parameters
array
DbBatchCommand[]
arrayIndex
int
GetBatchCommand(int)
protected override DbBatchCommand GetBatchCommand(int index)
Parameters
index
int
Returns
- DbBatchCommand
GetEnumerator()
public override IEnumerator<DbBatchCommand> GetEnumerator()
Returns
- IEnumerator<DbBatchCommand>
IndexOf(NpgsqlBatchCommand)
public int IndexOf(NpgsqlBatchCommand item)
Parameters
item
NpgsqlBatchCommand
Returns
- int
IndexOf(DbBatchCommand)
public override int IndexOf(DbBatchCommand item)
Parameters
item
DbBatchCommand
Returns
- int
Insert(int, NpgsqlBatchCommand)
public void Insert(int index, NpgsqlBatchCommand item)
Parameters
index
int
item
NpgsqlBatchCommand
Insert(int, DbBatchCommand)
public override void Insert(int index, DbBatchCommand item)
Parameters
index
int
item
DbBatchCommand
Remove(NpgsqlBatchCommand)
public bool Remove(NpgsqlBatchCommand item)
Parameters
item
NpgsqlBatchCommand
Returns
- bool
Remove(DbBatchCommand)
public override bool Remove(DbBatchCommand item)
Parameters
item
DbBatchCommand
Returns
- bool
RemoveAt(int)
public override void RemoveAt(int index)
Parameters
index
int
SetBatchCommand(int, DbBatchCommand)
protected override void SetBatchCommand(int index, DbBatchCommand batchCommand)
Parameters
index
int
batchCommand
DbBatchCommand