Class DataProviderServiceFactory
This class is a provider-specific resouce to enable provider-neutral code to execute. It is unlikely that you would reference this in consumer code.
Inheritance
System.Object
DataProviderServiceFactory
Implements
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.Pg
Assembly: ArgentSea.Pg.dll
Syntax
public class DataProviderServiceFactory : IDataProviderServiceFactory
Methods
| Improve this Doc View SourceGetIsErrorTransient(Exception)
Declaration
public bool GetIsErrorTransient(Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | exception |
Returns
| Type | Description |
|---|---|
| System.Boolean |
NewCommand(String, DbConnection)
Declaration
public 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
public DbConnection NewConnection(string connectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionString |
Returns
| Type | Description |
|---|---|
| System.Data.Common.DbConnection |
SetParameters(DbCommand, String[], DbParameterCollection, IDictionary<String, Object>)
Declaration
public void SetParameters(DbCommand cmd, string[] queryParameterNames, DbParameterCollection parameters, IDictionary<string, object> parameterValues)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Common.DbCommand | cmd | |
| System.String[] | queryParameterNames | |
| System.Data.Common.DbParameterCollection | parameters | |
| System.Collections.Generic.IDictionary<System.String, System.Object> | parameterValues |