C# Class Catnap.DbCommandFactory

Inheritance: IDbCommandFactory
Show file Open project: timscott/catnap Class Usage Examples

Public Methods

Method Description
Create ( IDbCommandSpec commandSpec ) : IDbCommand
Create ( IEnumerable parameters, string sql ) : IDbCommand
DbCommandFactory ( IDbAdapter dbAdapter, IDbConnection connection ) : System.Collections.Generic

Method Details

Create() public method

public Create ( IDbCommandSpec commandSpec ) : IDbCommand
commandSpec IDbCommandSpec
return IDbCommand

Create() public method

public Create ( IEnumerable parameters, string sql ) : IDbCommand
parameters IEnumerable
sql string
return IDbCommand

DbCommandFactory() public method

public DbCommandFactory ( IDbAdapter dbAdapter, IDbConnection connection ) : System.Collections.Generic
dbAdapter IDbAdapter
connection IDbConnection
return System.Collections.Generic