コード例 #1
0
 public T GetValue <T>(ISqlParam sqlParam, T defValue = default(T))
 {
     try { return(_dbExecutor.GetValue(sqlParam, defValue)); }
     catch (Exception ex)
     {
         WriteException(ex, sqlParam);
         throw;
     }
 }
コード例 #2
0
 public T GetValue <T>(ISqlParam sqlParam, T defValue = default(T))
 {
     return(SpeedTest(sqlParam, () => _dbExecutor.GetValue(sqlParam, defValue)));
 }
コード例 #3
0
 public T GetValue <T>(ISqlParam sqlParam, T defValue = default(T))
 {
     return(SpeedTest("GetValue", sqlParam.Name, CommandType.Text, sqlParam.Sql.ToString(), sqlParam.Param, () => _dbExecutor.GetValue(sqlParam, defValue)));
 }