Ejemplo n.º 1
0
 public int ExecuteNonQuery(List <System.Data.Common.DbParameter> parameters, string cmdText, System.Data.CommandType cmdType = System.Data.CommandType.Text)
 {
     return(MSSqlDatabaseFactory.ExecuteNonQuery(_config.DatabaseConnection, ParseParameter(parameters), cmdText, cmdType));
 }
Ejemplo n.º 2
0
 public List <T> GetListByReader <T>(List <System.Data.Common.DbParameter> parameters, string cmdText, InitList <T> dataAction, System.Data.CommandType cmdType = System.Data.CommandType.Text)
 {
     return(MSSqlDatabaseFactory.GetListByReader <T>(_config.DatabaseConnection, ParseParameter(parameters), cmdText, cmdType, dataAction));
 }