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.
Assembly: ArgentSea.dll
Syntax
public interface IDataProviderServiceFactory
Methods
|
Improve this Doc
View Source
GetIsErrorTransient(Exception)
Declaration
bool GetIsErrorTransient(Exception exception)
Parameters
| Type |
Name |
Description |
| System.Exception |
exception |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
NewConnection(String)
Declaration
DbConnection NewConnection(string connectionString)
Parameters
| Type |
Name |
Description |
| System.String |
connectionString |
|
Returns
| Type |
Description |
| System.Data.Common.DbConnection |
|
|
Improve this Doc
View Source
SetParameters(DbCommand, DbParameterCollection)
Declaration
void SetParameters(DbCommand cmd, DbParameterCollection parameters)
Parameters
| Type |
Name |
Description |
| System.Data.Common.DbCommand |
cmd |
|
| System.Data.Common.DbParameterCollection |
parameters |
|