Show / Hide Table of Contents

    Class ShardDataStores<TShard, TConfiguration>.ShardDataSet

    Inheritance
    System.Object
    ShardDataStores<TShard, TConfiguration>.ShardDataSet
    Implements
    System.Collections.ICollection
    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 class ShardDataSet : ICollection, IEnumerable

    Constructors

    | Improve this Doc View Source

    ShardDataSet(ShardDataStores<TShard, TConfiguration>, IShardConnectionsConfiguration<TShard>)

    Declaration
    public ShardDataSet(ShardDataStores<TShard, TConfiguration> parent, IShardConnectionsConfiguration<TShard> config)
    Parameters
    Type Name Description
    ShardDataStores<TShard, TConfiguration> parent
    IShardConnectionsConfiguration<TShard> config

    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[TShard]

    Declaration
    public ShardDataStores<TShard, TConfiguration>.ShardInstance this[TShard shardId] { get; }
    Parameters
    Type Name Description
    TShard shardId
    Property Value
    Type Description
    ShardDataStores.ShardInstance<>
    | Improve this Doc View Source

    Key

    Declaration
    public string Key { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SyncRoot

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

    Methods

    | 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

    GetEnumerator()

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

    QueryAllAsync<TModel>(String, TShard[], DbParameterCollection, Int32, QueryResultModelHandler<TShard, Object, TModel>, CancellationToken)

    Declaration
    public Task<List<TModel>> QueryAllAsync<TModel>(string sprocName, TShard[] exclude, DbParameterCollection parameters, int shardIdParameterIndex, QueryResultModelHandler<TShard, object, TModel> resultHandler, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    System.String sprocName
    TShard[] exclude
    System.Data.Common.DbParameterCollection parameters
    System.Int32 shardIdParameterIndex
    QueryResultModelHandler<TShard, System.Object, TModel> resultHandler
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>
    Type Parameters
    Name Description
    TModel
    | Improve this Doc View Source

    QueryAllAsync<TArg, TModel>(String, TShard[], DbParameterCollection, Int32, QueryResultModelHandler<TShard, TArg, TModel>, TArg, CancellationToken)

    Declaration
    public Task<List<TModel>> QueryAllAsync<TArg, TModel>(string sprocName, TShard[] exclude, DbParameterCollection parameters, int shardIdParameterIndex, QueryResultModelHandler<TShard, TArg, TModel> resultHandler, TArg dataObject, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    System.String sprocName
    TShard[] exclude
    System.Data.Common.DbParameterCollection parameters
    System.Int32 shardIdParameterIndex
    QueryResultModelHandler<TShard, TArg, TModel> resultHandler
    TArg dataObject
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>
    Type Parameters
    Name Description
    TArg
    TModel
    | Improve this Doc View Source

    QueryFirstAsync<TArg, TResult>(String, TShard[], DbParameterCollection, Int32, QueryResultModelHandler<TShard, TArg, TResult>, TArg, CancellationToken)

    Declaration
    public Task<TResult> QueryFirstAsync<TArg, TResult>(string sprocName, TShard[] exclude, DbParameterCollection parameters, int shardIdParameterIndex, QueryResultModelHandler<TShard, TArg, TResult> resultHandler, TArg dataObject, CancellationToken cancellationToken)
        where TResult : class, new()
    Parameters
    Type Name Description
    System.String sprocName
    TShard[] exclude
    System.Data.Common.DbParameterCollection parameters
    System.Int32 shardIdParameterIndex
    QueryResultModelHandler<TShard, TArg, TResult> resultHandler
    TArg dataObject
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<TResult>
    Type Parameters
    Name Description
    TArg
    TResult

    Implements

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