Class DbDataStores<TConfiguration>
This class is used by provider specific implementations. It is unlikely that you would reference this in consumer code. This generic class manages non-sharded database connections.
Inheritance
System.Object
DbDataStores<TConfiguration>
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 DbDataStores<TConfiguration>
where TConfiguration : class, IDbDataConfigurationOptions, new()
Type Parameters
Name | Description |
---|---|
TConfiguration | The provider-specific connection implementation. |
Constructors
| Improve this Doc View SourceDbDataStores(IOptions<TConfiguration>, IOptions<DataSecurityOptions>, IOptions<DataResilienceOptions>, IDataProviderServiceFactory, ILogger<DbDataStores<TConfiguration>>)
Declaration
public DbDataStores(IOptions<TConfiguration> configOptions, IOptions<DataSecurityOptions> securityOptions, IOptions<DataResilienceOptions> resilienceStrategiesOptions, IDataProviderServiceFactory dataProviderServices, ILogger<DbDataStores<TConfiguration>> logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<TConfiguration> | configOptions | |
Microsoft.Extensions.Options.IOptions<DataSecurityOptions> | securityOptions | |
Microsoft.Extensions.Options.IOptions<DataResilienceOptions> | resilienceStrategiesOptions | |
IDataProviderServiceFactory | dataProviderServices | |
Microsoft.Extensions.Logging.ILogger<DbDataStores<TConfiguration>> | logger |
Properties
| Improve this Doc View SourceDbConnections
Declaration
public DbDataStores<TConfiguration>.DbDataSets DbConnections { get; }
Property Value
Type | Description |
---|---|
DbDataStores.DbDataSets<> |