Show / Hide Table of Contents

    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 Source

    DatabasesBase(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 Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[String]

    Declaration
    public DatabasesBase<TConfiguration>.Database this[string key] { get; }
    Parameters
    Type Name Description
    System.String key
    Property Value
    Type Description
    DatabasesBase.Database<>
    | Improve this Doc View Source

    SyncRoot

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

    Methods

    | Improve this Doc View Source

    CopyTo(Array, Int32)

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    System.Array array
    System.Int32 index
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

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