Interface IDataProviderServiceFactory
This interface is used by provider specific implementations. It is unlikely that you would reference this in consumer code. The interface defines the capabilities of a database providers service.
Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
public interface IDataProviderServiceFactory
Methods
| Improve this Doc View SourceGetIsErrorTransient(Exception)
Declaration
bool GetIsErrorTransient(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |
Returns
Type | Description |
---|---|
System.Boolean |
NewCommand(String, DbConnection)
Declaration
DbCommand NewCommand(string storedProcedureName, DbConnection connection)
Parameters
Type | Name | Description |
---|---|---|
System.String | storedProcedureName | |
System.Data.Common.DbConnection | connection |
Returns
Type | Description |
---|---|
System.Data.Common.DbCommand |
NewConnection(String)
Declaration
DbConnection NewConnection(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString |
Returns
Type | Description |
---|---|
System.Data.Common.DbConnection |
SetParameters(DbCommand, DbParameterCollection)
Declaration
void SetParameters(DbCommand cmd, DbParameterCollection parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbCommand | cmd | |
System.Data.Common.DbParameterCollection | parameters |