Interface IDataConnection
  
  
  
  
  Assembly: ArgentSea.dll
  Syntax
  
    public interface IDataConnection
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CircuitBreakerFailureCount
  
  
  Declaration
  
    int? CircuitBreakerFailureCount { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int32> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CircuitBreakerTestInterval
  
  
  Declaration
  
    int? CircuitBreakerTestInterval { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int32> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ConnectionDescription
  When overridden in a derived class, returns a description that can be used for logging connection errors.
Declaration
  
    string ConnectionDescription { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RetryCount
  
  
  Declaration
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int32> |  | 
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetConnectionString(ILogger)
  When overridden in a derived class, returns the ADO.NET connection string from the various connection propeties. Typically, a ConnectionStringBuilder is used for this purpose.
Declaration
  
    string GetConnectionString(ILogger logger)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Microsoft.Extensions.Logging.ILogger | logger |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetRetryTimespan(Int32)
  
  
  Declaration
  
    TimeSpan GetRetryTimespan(int attemptCount)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int32 | attemptCount |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.TimeSpan |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetAmbientConfiguration(DataConnectionConfigurationBase, DataConnectionConfigurationBase, DataConnectionConfigurationBase, DataConnectionConfigurationBase)
  
  
  Declaration
  
    void SetAmbientConfiguration(DataConnectionConfigurationBase globalProperties, DataConnectionConfigurationBase readWriteProperties, DataConnectionConfigurationBase shardSetProperties, DataConnectionConfigurationBase shardProperties)
   
  Parameters