Interface IDbConnectionFactory
Namespace: LemonEdge.DataAccess.Core.Abstractions.Factories
Assembly: LemonEdge.DataAccess.Core.Abstractions.dll
Syntax
public interface IDbConnectionFactory
Methods
CreateWithRetry(string, IRetryPolicy)
Creates an IAsyncDbConnection that utilizing the IRetryPolicy
Declaration
IAsyncDbConnection CreateWithRetry(string connectionString, IRetryPolicy retryPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | connectionString | |
IRetryPolicy | retryPolicy |
Returns
Type | Description |
---|---|
IAsyncDbConnection |