public string getFieldValue(InsertContext context) { if (context.numRow > Constants.NUM_CODES) { return("0"); } return(Constants.JOULEN_FIELD_VALUES[context.numRow].ToString()); }
public string getFieldValue(InsertContext context) { if (context.numRow > Constants.NUM_CODES) { return("A"); } return(Constants.JOUTYP_FIELD_VALUES[context.numRow]); }
public string getFieldValue(InsertContext context) { if (context.numRow <= Constants.NUM_CODES) { return(values[context.numRow].ToString()); } else { return("10"); } }
public String getFieldValue(InsertContext context) { if (context.numRow == 0) { return("0"); } if (context.numRow > 0 && context.numRow < 22) { return("1"); } return("2"); }
public string getFieldValue(InsertContext context) { if (context.numRow == 0) { return(getJoudesFirstValue(context.operation)); } if (context.val == null || context.val.Equals("")) { return(getFilledValue(context)); } return(context.val); }
private string getFilledValue(InsertContext context) { string res = ""; if (Constants.JOUTYP_FIELD_VALUES[context.numRow].Equals("Z")) { for (int i = 0; i < Constants.JOULEN_FIELD_VALUES[context.numRow]; i++) { res = res + "0"; } } return(res); }
public string getFieldValue(InsertContext context) { string res = ""; if (context.numRow < 22) { res = "0"; } else { int temp = context.numRow - 21; res = temp.ToString(); } return(res); }
public string getFieldSQLValue(InsertContext context) { return("'" + getFieldValue(context) + "'"); }
public string getFieldSQLValue(InsertContext context) { return(getFieldValue(context)); }
public string getFieldSQLValue(InsertContext context) { return("'" + getFieldValue(context).Replace("'", "''") + "'"); }
public string getFieldValue(InsertContext context) { return(context.schedaDoc.systemId); }