C# Class PatientPending.Core.SqlActuator

ファイルを表示 Open project: PaulUpson/PatientPending

Protected Methods

Method Description
CreateCommand ( string sql, DbConnection conn ) : DbCommand
Execute ( IEnumerable commands ) : int
Fetch ( string sql ) : IEnumerable
Query ( string sql ) : IEnumerable
Scalar ( string sql ) : object
SqlActuator ( string connectionStringName ) : System

Private Methods

Method Description
OpenConnection ( ) : DbConnection

Method Details

CreateCommand() protected method

protected CreateCommand ( string sql, DbConnection conn ) : DbCommand
sql string
conn System.Data.Common.DbConnection
return System.Data.Common.DbCommand

Execute() protected method

protected Execute ( IEnumerable commands ) : int
commands IEnumerable
return int

Fetch() protected method

protected Fetch ( string sql ) : IEnumerable
sql string
return IEnumerable

Query() protected method

protected Query ( string sql ) : IEnumerable
sql string
return IEnumerable

Scalar() protected method

protected Scalar ( string sql ) : object
sql string
return object

SqlActuator() protected method

protected SqlActuator ( string connectionStringName ) : System
connectionStringName string
return System