public HrTestParams GetTestParams(int procTag) { var condition = new ParadoxCondition.Compare(ParadoxCompareOperator.Equal, procTag, 2, 0); var sr = _Connection.ExecuteQuery("HRTestParms", condition, false); if (sr.Read()) { HrTestParams result = new HrTestParams(); result.ProcTag = procTag; result.ProcID = (string)sr["ProcID"]; result.Abbrev = (string)sr["Abbrev"]; return(result); } return(null); }
public HrTestParams GetTestParams(int procTag) { var condition = new ParadoxCondition.Compare(ParadoxCompareOperator.Equal, procTag, 2, 0); var sr = _Connection.ExecuteQuery("HRTestParms", condition, false); if (sr.Read()) { HrTestParams result = new HrTestParams(); result.ProcTag = procTag; result.ProcID = (string)sr["ProcID"]; result.Abbrev = (string)sr["Abbrev"]; return result; } return null; }