Class DatabasesBase<TConfiguration>
This class is used by provider specific implementations. It is unlikely that you would reference this in consumer code. Classes that inherit from this class manage non-sharded database connections.
Inheritance
System.Object
    DatabasesBase<TConfiguration>
  Implements
System.Collections.ICollection
    System.Collections.IEnumerable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
public abstract class DatabasesBase<TConfiguration> : ICollection, IEnumerable where TConfiguration : class, IDatabaseConfigurationOptions, new()Type Parameters
| Name | Description | 
|---|---|
| TConfiguration | A provider-specific implementation of IShardSetConfigurationOptions. | 
Constructors
| Improve this Doc View SourceDatabasesBase(IOptions<TConfiguration>, IDataProviderServiceFactory, DataConnectionConfigurationBase, ILogger<DatabasesBase<TConfiguration>>)
Declaration
public DatabasesBase(IOptions<TConfiguration> configOptions, IDataProviderServiceFactory dataProviderServices, DataConnectionConfigurationBase globalConfiguration, ILogger<DatabasesBase<TConfiguration>> logger)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.Extensions.Options.IOptions<TConfiguration> | configOptions | |
| IDataProviderServiceFactory | dataProviderServices | |
| DataConnectionConfigurationBase | globalConfiguration | |
| Microsoft.Extensions.Logging.ILogger<DatabasesBase<TConfiguration>> | logger | 
Properties
| Improve this Doc View SourceCount
Declaration
public int Count { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
IsSynchronized
Declaration
public bool IsSynchronized { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Item[String]
Declaration
public DatabasesBase<TConfiguration>.Database this[string key] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | 
Property Value
| Type | Description | 
|---|---|
| DatabasesBase.Database<> | 
SyncRoot
Declaration
public object SyncRoot { get; }Property Value
| Type | Description | 
|---|---|
| System.Object | 
Methods
| Improve this Doc View SourceCopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Array | array | |
| System.Int32 | index | 
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | 
Implements
      System.Collections.ICollection
  
  
      System.Collections.IEnumerable