Show / Hide Table of Contents

    Class ShardSetsBase<TShard, TConfiguration>.ShardSetReadAll

    This class hosts the concurrent shard set read methods which return all valid results.

    Inheritance
    System.Object
    ShardSetsBase<TShard, TConfiguration>.ShardSetReadAll
    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 ShardSetReadAll

    Methods

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string recordColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues
    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string recordColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues
    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, DbParameterCollection, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string recordColumnName, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, DbParameterCollection, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string recordColumnName, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, String, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values from the specified columns.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string shardColumnName, string recordColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardKey.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, String, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values from the specified columns.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string shardColumnName, string recordColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardKey.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, String, DbParameterCollection, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values from the specified columns.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string shardColumnName, string recordColumnName, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardKey.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TRecord>(Query, Char, String, String, DbParameterCollection, CancellationToken)

    Connect to the shard set and return a combined list of ShardKey values from the specified columns.

    Declaration
    public Task<List<ShardKey<TShard, TRecord>>> ListAsync<TRecord>(Query query, char origin, string shardColumnName, string recordColumnName, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TRecord : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardKey type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardKey.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardKey.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardKey<TShard, TRecord>>>

    A list of ShardKey values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardKey result.

    | Improve this Doc View Source

    ListAsync<TValue>(Query, String, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Connect to the shard set and return a combined list of values from the specified column.

    Declaration
    public Task<List<TValue>> ListAsync<TValue>(Query query, string columnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.String columnName

    This should match the name of a column containing the values.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TValue>>

    A list of values representing the combined results of all of the shards.

    Type Parameters
    Name Description
    TValue

    The type of the return value, typically: Boolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Float, Guid, Int16, Int32, Int64, or String.

    | Improve this Doc View Source

    ListAsync<TValue>(Query, String, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Connect to the shard set and return a combined list of values from the specified column.

    Declaration
    public Task<List<TValue>> ListAsync<TValue>(Query query, string columnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.String columnName

    This should match the name of a column containing the values.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TValue>>

    A list of values representing the combined results of all of the shards.

    Type Parameters
    Name Description
    TValue

    The type of the return value, typically: Boolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Float, Guid, Int16, Int32, Int64, or String.

    | Improve this Doc View Source

    ListAsync<TValue>(Query, String, DbParameterCollection, String, CancellationToken)

    Connect to the shard set and return a list of values from the specified column.

    Declaration
    public Task<List<TValue>> ListAsync<TValue>(Query query, string columnName, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.String columnName

    This should match the name of a column containing the values.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TValue>>

    A list of values representing the combined results of all of the shards.

    Type Parameters
    Name Description
    TValue

    The type of the return value, typically: Boolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Float, Guid, Int16, Int32, Int64, or String.

    | Improve this Doc View Source

    ListAsync<TValue>(Query, String, DbParameterCollection, CancellationToken)

    Connect to the shard set and return a combined list of values from the specified column.

    Declaration
    public Task<List<TValue>> ListAsync<TValue>(Query query, string columnName, DbParameterCollection parameters, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.String columnName

    This should match the name of a column containing the values.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TValue>>

    A list of values representing the combined results of all of the shards.

    Type Parameters
    Name Description
    TValue

    The type of the return value, typically: Boolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Float, Guid, Int16, Int32, Int64, or String.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string recordColumnName, string childColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues
    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string recordColumnName, string childColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues
    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, DbParameterCollection, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string recordColumnName, string childColumnName, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, DbParameterCollection, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values using the specified record Id column and the ShardId of the current shard.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string recordColumnName, string childColumnName, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, String, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values from the specified columns.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string shardColumnName, string recordColumnName, string childColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardChild.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, String, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values from the specified columns.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string shardColumnName, string recordColumnName, string childColumnName, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardChild.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, String, DbParameterCollection, String, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values from the specified columns.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string shardColumnName, string recordColumnName, string childColumnName, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardChild.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    ListAsync<TRecord, TChild>(Query, Char, String, String, String, DbParameterCollection, CancellationToken)

    Connect to the shard set and return a combined list of ShardChild values from the specified columns.

    Declaration
    public Task<List<ShardChild<TShard, TRecord, TChild>>> ListAsync<TRecord, TChild>(Query query, char origin, string shardColumnName, string recordColumnName, string childColumnName, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Query query

    The SQL procedure or statement to invoke to fetch the data.

    System.Char origin

    Origin value to indicate the ShardChild type.

    System.String shardColumnName

    This should match the name of a column containing the ShardID component of the ShardChild.

    System.String recordColumnName

    This should match the name of a column containing the RecordID component of the ShardChild.

    System.String childColumnName

    This should match the name of a column containing the ChildID component of the ShardChild.

    System.Data.Common.DbParameterCollection parameters

    The query parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ShardChild<TShard, TRecord, TChild>>>

    A list of ShardChild values representing the combined results of all of the shards or the specified shards.

    Type Parameters
    Name Description
    TRecord

    The type of the record id component in the ShardChild result.

    TChild

    The type of the child id component in the ShardChild result.

    | Improve this Doc View Source

    MapListAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Returns a list of objects created by the specified delegate.

    Declaration
    public Task<List<TModel>> MapListAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of TModel objects, built by the delegate from the data results.

    Type Parameters
    Name Description
    TModel

    The data type of the objects in the list result.

    | Improve this Doc View Source

    MapListAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Returns a list of objects created by the specified delegate.

    Declaration
    public Task<List<TModel>> MapListAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of TModel objects, built by the delegate from the data results.

    Type Parameters
    Name Description
    TModel

    The data type of the objects in the list result.

    | Improve this Doc View Source

    MapListAsync<TModel>(Query, DbParameterCollection, String, CancellationToken)

    Returns a list of objects created by the specified delegate.

    Declaration
    public Task<List<TModel>> MapListAsync<TModel>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of TModel objects, built by the delegate from the data results.

    Type Parameters
    Name Description
    TModel

    The data type of the objects in the list result.

    | Improve this Doc View Source

    MapListAsync<TModel>(Query, DbParameterCollection, CancellationToken)

    Returns a list of objects created by the specified delegate.

    Declaration
    public Task<List<TModel>> MapListAsync<TModel>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of TModel objects, built by the delegate from the data results.

    Type Parameters
    Name Description
    TModel

    The data type of the objects in the list result.

    | Improve this Doc View Source

    MapOutputAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapOutputAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapOutputAsync<TModel>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapOutputAsync<TModel>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult

    The first result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult

    The first result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult

    The first result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult

    The first result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from output parameters.

    Declaration
    public Task<List<TModel>> MapOutputAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapReaderAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapReaderAsync<TModel>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapReaderAsync<TModel>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, ShardsValues<TShard>, String, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, ShardsValues<TShard>, CancellationToken)

    Query across the shards identified by collection of shard parameter values, returns non-null result using Mapping attributes and the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, String, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, string shardParameterName, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query, DbParameterCollection, CancellationToken)

    Query across all shards in the shard set, using mapping attributes to build results from the DataReader.

    Declaration
    public Task<List<TModel>> MapReaderAsync<TModel, TReaderResult0, TReaderResult1, TReaderResult2, TReaderResult3, TReaderResult4, TReaderResult5, TReaderResult6, TReaderResult7>(Query query, DbParameterCollection parameters, CancellationToken cancellationToken)
        where TModel : class, new()
        where TReaderResult0 : class, new()
        where TReaderResult1 : class, new()
        where TReaderResult2 : class, new()
        where TReaderResult3 : class, new()
        where TReaderResult4 : class, new()
        where TReaderResult5 : class, new()
        where TReaderResult6 : class, new()
        where TReaderResult7 : class, new()
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    TReaderResult0

    The first result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult1

    The second result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult2

    The third result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult3

    The forth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult4

    The fifth result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult5

    The sixth result set from data reader. This it will be mapped to any property with a List of this type.

    TReaderResult6

    The seventh result set from data reader. This will be mapped to any property with a List of this type.

    TReaderResult7

    The eighth result set from data reader. This will be mapped to any property with a List of this type.

    | Improve this Doc View Source

    QueryAsync<TModel>(Query, DbParameterCollection, QueryResultModelHandler<TShard, Object, TModel>, Object, CancellationToken)

    Query across all shards in the shard set using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TModel>(Query query, DbParameterCollection parameters, QueryResultModelHandler<TShard, object, TModel> resultHandler, object dataObject, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    QueryResultModelHandler<TShard, System.Object, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    System.Object dataObject
    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, QueryResultModelHandler<TShard, Object, TModel>, CancellationToken)

    Query across the specified shards, generating results using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, QueryResultModelHandler<TShard, object, TModel> resultHandler, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    QueryResultModelHandler<TShard, System.Object, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TModel>(Query, DbParameterCollection, ShardsValues<TShard>, String, QueryResultModelHandler<TShard, Object, TModel>, CancellationToken)

    Query across the specified shards, generating results using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, QueryResultModelHandler<TShard, object, TModel> resultHandler, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    QueryResultModelHandler<TShard, System.Object, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TModel>(Query, DbParameterCollection, String, QueryResultModelHandler<TShard, Object, TModel>, CancellationToken)

    Query across all shards in the shard set using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TModel>(Query query, DbParameterCollection parameters, string shardParameterName, QueryResultModelHandler<TShard, object, TModel> resultHandler, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    QueryResultModelHandler<TShard, System.Object, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TArg, TModel>(Query, DbParameterCollection, QueryResultModelHandler<TShard, TArg, TModel>, TArg, CancellationToken)

    Query across all shards in the shard set using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TArg, TModel>(Query query, DbParameterCollection parameters, QueryResultModelHandler<TShard, TArg, TModel> resultHandler, TArg dataObject, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    QueryResultModelHandler<TShard, TArg, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    TArg dataObject

    An object of type TArg to be passed to the resultHandler, which may contain additional data.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TArg

    The optional object type to be passed to the handler.

    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TArg, TModel>(Query, DbParameterCollection, ShardsValues<TShard>, QueryResultModelHandler<TShard, TArg, TModel>, TArg, CancellationToken)

    Query across the specified shards, generating results using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TArg, TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, QueryResultModelHandler<TShard, TArg, TModel> resultHandler, TArg dataObject, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    QueryResultModelHandler<TShard, TArg, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    TArg dataObject

    An object of type TArg to be passed to the resultHandler, which may contain additional data.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TArg

    The optional object type to be passed to the handler.

    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TArg, TModel>(Query, DbParameterCollection, ShardsValues<TShard>, String, QueryResultModelHandler<TShard, TArg, TModel>, TArg, CancellationToken)

    Query across the specified shards, generating results using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TArg, TModel>(Query query, DbParameterCollection parameters, ShardsValues<TShard> shardParameterValues, string shardParameterName, QueryResultModelHandler<TShard, TArg, TModel> resultHandler, TArg dataObject, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    ShardsValues<TShard> shardParameterValues

    A list of shards to be queried, and shard-specific values to use for named parameters.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    QueryResultModelHandler<TShard, TArg, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    TArg dataObject

    An object of type TArg to be passed to the resultHandler, which may contain additional data.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TArg

    The optional object type to be passed to the handler.

    TModel

    The data object return type for the list

    | Improve this Doc View Source

    QueryAsync<TArg, TModel>(Query, DbParameterCollection, String, QueryResultModelHandler<TShard, TArg, TModel>, TArg, CancellationToken)

    Query across all shards in the shard set using a handler delegate.

    Declaration
    public Task<List<TModel>> QueryAsync<TArg, TModel>(Query query, DbParameterCollection parameters, string shardParameterName, QueryResultModelHandler<TShard, TArg, TModel> resultHandler, TArg dataObject, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Query query

    The statement or procedure to be invoked on every instance.

    System.Data.Common.DbParameterCollection parameters

    The parameters to be passed to the procedure or statement.

    System.String shardParameterName

    The name of the ShardId parameter, to be set for each connection before it is called.

    QueryResultModelHandler<TShard, TArg, TModel> resultHandler

    The thread-safe delegate that converts the data results into the return object type.

    TArg dataObject

    An object of type TArg to be passed to the resultHandler, which may contain additional data.

    System.Threading.CancellationToken cancellationToken

    A token which allows the query to be cancelled.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<TModel>>

    A list of the non-null object results returned from any shard.

    Type Parameters
    Name Description
    TArg

    The optional object type to be passed to the handler.

    TModel

    The data object return type for the list

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX