Show / Hide Table of Contents

    Class BatchBase<TShard, TResult>

    Inheritance
    System.Object
    BatchBase<TShard, TResult>
    DatabaseBatch<TResult>
    ShardBatch<TShard, TResult>
    ShardSetBatch<TShard>
    Implements
    System.Collections.ICollection
    System.Collections.Generic.IEnumerable<BatchStep<TShard, TResult>>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ArgentSea
    Assembly: ArgentSea.dll
    Syntax
    public abstract class BatchBase<TShard, TResult> : ICollection, IEnumerable<BatchStep<TShard, TResult>>, IEnumerable where TShard : IComparable
    Type Parameters
    Name Description
    TShard
    TResult

    Fields

    | Improve this Doc View Source

    _processes

    Declaration
    protected readonly List<BatchStep<TShard, TResult>> _processes
    Field Value
    Type Description
    System.Collections.Generic.List<BatchStep<TShard, TResult>>

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public BatchStep<TShard, TResult> this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    BatchStep<TShard, TResult>
    | Improve this Doc View Source

    SyncRoot

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type Description
    System.Object

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    CopyTo(Array, Int32)

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    System.Array array
    System.Int32 index
    | Improve this Doc View Source

    Execute(TShard, DbConnection, DbTransaction, String, IDataProviderServiceFactory, ILogger, CancellationToken)

    Declaration
    protected abstract Task<TResult> Execute(TShard shardId, DbConnection connection, DbTransaction transaction, string connectionName, IDataProviderServiceFactory services, ILogger logger, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    TShard shardId
    System.Data.Common.DbConnection connection
    System.Data.Common.DbTransaction transaction
    System.String connectionName
    IDataProviderServiceFactory services
    Microsoft.Extensions.Logging.ILogger logger
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<TResult>
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator
    | Improve this Doc View Source

    Remove(BatchStep<TShard, TResult>)

    Declaration
    public bool Remove(BatchStep<TShard, TResult> item)
    Parameters
    Type Name Description
    BatchStep<TShard, TResult> item
    Returns
    Type Description
    System.Boolean

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable<BatchStep<TShard, TResult>>.GetEnumerator()

    Declaration
    IEnumerator<BatchStep<TShard, TResult>> IEnumerable<BatchStep<TShard, TResult>>.GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<BatchStep<TShard, TResult>>

    Implements

    System.Collections.ICollection
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX