Show / Hide Table of Contents

    Class DataConnectionConfigurationBase

    Abstract class implementing the data connection functionality shared by PostgreSQL and SQL Server implementations.

    Inheritance
    System.Object
    DataConnectionConfigurationBase
    Implements
    System.ComponentModel.INotifyPropertyChanged
    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 DataConnectionConfigurationBase : INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    CircuitBreakerFailureCount

    If a connection or command consistantly fails, the circuit breaker will reject all further connections until one suceeds. This setting determines how many failures (after retries, if retry-able) before blocking all connections apart from a few periodic test attempts. Does not raise PropertyChanged event.

    Declaration
    public int? CircuitBreakerFailureCount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    CircuitBreakerTestInterval

    If a connection or command fails, the circuit breaker will reject all further connections until one suceeds. This setting determines how long (in milliseonds) the system should wait before allowing a test connection. Does not raise PropertyChanged event.

    Declaration
    public int? CircuitBreakerTestInterval { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    Password

    The database login password, if windows auth is not used.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RetryCount

    The number of times to automatically retry when a transient error is encountered. The default is 6. Does not raise PropertyChanged event.

    Declaration
    public int? RetryCount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    RetryInterval

    This is the number of milliseconds to wait before retrying a “retry-able” connection or command error. Default is 250 ms. This interval may be extended with each retry, depending upon the RetryLengthening setting, up to RetryCount. Does not raise PropertyChanged event.

    Declaration
    public int? RetryInterval { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    RetryLengthening

    If a connection or command fails, this setting determines how much each subsequent retry should be further delayed. Does not raise PropertyChanged event.

    Declaration
    public SequenceLengthening? RetryLengthening { get; set; }
    Property Value
    Type Description
    System.Nullable<SequenceLengthening>
    | Improve this Doc View Source

    UserName

    The database login account, if windows auth is not used.

    Declaration
    public string UserName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    WindowsAuth

    Windows (kerberos) auth should be used, rather than username and password.

    Declaration
    public bool? WindowsAuth { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    Methods

    | Improve this Doc View Source

    GetRetryTimespan(Int32)

    Declaration
    public TimeSpan GetRetryTimespan(int attempt)
    Parameters
    Type Name Description
    System.Int32 attempt
    Returns
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    RaisePropertyChanged(String)

    Declaration
    protected void RaisePropertyChanged(string caller = "")
    Parameters
    Type Name Description
    System.String caller

    Events

    | Improve this Doc View Source

    PropertyChanged

    Event indicating that a connection property has changed, which should cause any future connection strings to change. This event is not raise on resiliance (non-connection) properties.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX