public T GetValue <T>(ISqlParam sqlParam, T defValue = default(T)) { try { return(_dbExecutor.GetValue(sqlParam, defValue)); } catch (Exception ex) { WriteException(ex, sqlParam); throw; } }
public T GetValue <T>(ISqlParam sqlParam, T defValue = default(T)) { return(SpeedTest(sqlParam, () => _dbExecutor.GetValue(sqlParam, defValue))); }
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))); }