Class SqlShardSets<TShard>
A collection of ShardSets.
Inheritance
System.Object
ShardSetsBase<TShard, SqlShardConnectionOptions<TShard>>
SqlShardSets<TShard>
Implements
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea.Sql
Assembly: ArgentSea.Sql.dll
Syntax
public class SqlShardSets<TShard> : ShardSetsBase<TShard, SqlShardConnectionOptions<TShard>>, ICollection, IEnumerable where TShard : IComparable
Type Parameters
| Name | Description |
|---|---|
| TShard | The type of the shardId index value. |
Constructors
| Improve this Doc View SourceSqlShardSets(IOptions<SqlShardConnectionOptions<TShard>>, IOptions<SqlGlobalPropertiesOptions>, ILogger<SqlShardSets<TShard>>)
Declaration
public SqlShardSets(IOptions<SqlShardConnectionOptions<TShard>> configOptions, IOptions<SqlGlobalPropertiesOptions> globalOptions, ILogger<SqlShardSets<TShard>> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Options.IOptions<SqlShardConnectionOptions<TShard>> | configOptions | |
| Microsoft.Extensions.Options.IOptions<SqlGlobalPropertiesOptions> | globalOptions | |
| Microsoft.Extensions.Logging.ILogger<SqlShardSets<TShard>> | logger |
Implements
System.Collections.ICollection
System.Collections.IEnumerable