Search Results for

    Show / Hide Table of Contents

    Class NpgsqlBatchCommandCollection

    Inheritance
    Object
    DbBatchCommandCollection
    NpgsqlBatchCommandCollection
    Implements
    IList<DbBatchCommand>
    ICollection<DbBatchCommand>
    IEnumerable<DbBatchCommand>
    IList<NpgsqlBatchCommand>
    ICollection<NpgsqlBatchCommand>
    IEnumerable<NpgsqlBatchCommand>
    IEnumerable
    Inherited Members
    DbBatchCommandCollection.IEnumerable.GetEnumerator()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public class NpgsqlBatchCommandCollection : DbBatchCommandCollection, IList<DbBatchCommand>, ICollection<DbBatchCommand>, IEnumerable<DbBatchCommand>, IList<NpgsqlBatchCommand>, ICollection<NpgsqlBatchCommand>, IEnumerable<NpgsqlBatchCommand>, IEnumerable

    Properties

    Count

    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    Int32
    Overrides
    DbBatchCommandCollection.Count

    IsReadOnly

    Declaration
    public override bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    DbBatchCommandCollection.IsReadOnly

    Item[Int32]

    Declaration
    public NpgsqlBatchCommand this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    NpgsqlBatchCommand

    Methods

    Add(NpgsqlBatchCommand)

    Declaration
    public void Add(NpgsqlBatchCommand item)
    Parameters
    Type Name Description
    NpgsqlBatchCommand item

    Add(DbBatchCommand)

    Declaration
    public override void Add(DbBatchCommand item)
    Parameters
    Type Name Description
    DbBatchCommand item
    Overrides
    DbBatchCommandCollection.Add(DbBatchCommand)

    Clear()

    Declaration
    public override void Clear()
    Overrides
    DbBatchCommandCollection.Clear()

    Contains(NpgsqlBatchCommand)

    Declaration
    public bool Contains(NpgsqlBatchCommand item)
    Parameters
    Type Name Description
    NpgsqlBatchCommand item
    Returns
    Type Description
    Boolean

    Contains(DbBatchCommand)

    Declaration
    public override bool Contains(DbBatchCommand item)
    Parameters
    Type Name Description
    DbBatchCommand item
    Returns
    Type Description
    Boolean
    Overrides
    DbBatchCommandCollection.Contains(DbBatchCommand)

    CopyTo(NpgsqlBatchCommand[], Int32)

    Declaration
    public void CopyTo(NpgsqlBatchCommand[] array, int arrayIndex)
    Parameters
    Type Name Description
    NpgsqlBatchCommand[] array
    Int32 arrayIndex

    CopyTo(DbBatchCommand[], Int32)

    Declaration
    public override void CopyTo(DbBatchCommand[] array, int arrayIndex)
    Parameters
    Type Name Description
    DbBatchCommand[] array
    Int32 arrayIndex
    Overrides
    DbBatchCommandCollection.CopyTo(DbBatchCommand[], Int32)

    GetBatchCommand(Int32)

    Declaration
    protected override DbBatchCommand GetBatchCommand(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    DbBatchCommand
    Overrides
    DbBatchCommandCollection.GetBatchCommand(Int32)

    GetEnumerator()

    Declaration
    public override IEnumerator<DbBatchCommand> GetEnumerator()
    Returns
    Type Description
    IEnumerator<DbBatchCommand>
    Overrides
    DbBatchCommandCollection.GetEnumerator()

    IndexOf(NpgsqlBatchCommand)

    Declaration
    public int IndexOf(NpgsqlBatchCommand item)
    Parameters
    Type Name Description
    NpgsqlBatchCommand item
    Returns
    Type Description
    Int32

    IndexOf(DbBatchCommand)

    Declaration
    public override int IndexOf(DbBatchCommand item)
    Parameters
    Type Name Description
    DbBatchCommand item
    Returns
    Type Description
    Int32
    Overrides
    DbBatchCommandCollection.IndexOf(DbBatchCommand)

    Insert(Int32, NpgsqlBatchCommand)

    Declaration
    public void Insert(int index, NpgsqlBatchCommand item)
    Parameters
    Type Name Description
    Int32 index
    NpgsqlBatchCommand item

    Insert(Int32, DbBatchCommand)

    Declaration
    public override void Insert(int index, DbBatchCommand item)
    Parameters
    Type Name Description
    Int32 index
    DbBatchCommand item
    Overrides
    DbBatchCommandCollection.Insert(Int32, DbBatchCommand)

    Remove(NpgsqlBatchCommand)

    Declaration
    public bool Remove(NpgsqlBatchCommand item)
    Parameters
    Type Name Description
    NpgsqlBatchCommand item
    Returns
    Type Description
    Boolean

    Remove(DbBatchCommand)

    Declaration
    public override bool Remove(DbBatchCommand item)
    Parameters
    Type Name Description
    DbBatchCommand item
    Returns
    Type Description
    Boolean
    Overrides
    DbBatchCommandCollection.Remove(DbBatchCommand)

    RemoveAt(Int32)

    Declaration
    public override void RemoveAt(int index)
    Parameters
    Type Name Description
    Int32 index
    Overrides
    DbBatchCommandCollection.RemoveAt(Int32)

    SetBatchCommand(Int32, DbBatchCommand)

    Declaration
    protected override void SetBatchCommand(int index, DbBatchCommand batchCommand)
    Parameters
    Type Name Description
    Int32 index
    DbBatchCommand batchCommand
    Overrides
    DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand)

    Explicit Interface Implementations

    IEnumerable<NpgsqlBatchCommand>.GetEnumerator()

    Declaration
    IEnumerator<NpgsqlBatchCommand> IEnumerable<NpgsqlBatchCommand>.GetEnumerator()
    Returns
    Type Description
    IEnumerator<NpgsqlBatchCommand>

    IList<NpgsqlBatchCommand>.Item[Int32]

    Declaration
    NpgsqlBatchCommand IList<NpgsqlBatchCommand>.this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    NpgsqlBatchCommand

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team