public static string GetColumnName(this SqlDbConfig sqlDbConfig, string table, string column) { var col = sqlDbConfig.getFieldValue(table).getFieldValue(column + "Col"); string myOut = (col.getMethodValue("PureColumnName")).ToString(); return(myOut); }
public static string GetColumnId(this SqlDbConfig sqlDbConfig, string table, string column, string languageCode) { var col = sqlDbConfig.getFieldValue(table).getFieldValue(column + "Col"); return (( col is Lang2Col ? col.getMethodValue("Id", languageCode) : col.getMethodValue("Id") ).ToString()); }
public static string GetTableNameAndAlias(this SqlDbConfig sqlDbConfig, string table, string languageCode) { var tab = sqlDbConfig.getFieldValue(table); return (( tab is Lang2Tab ? tab.getMethodValue("GetNameAndAlias", languageCode) : tab.getMethodValue("GetNameAndAlias") ).ToString()); }
public static string GetKeyword(this SqlDbConfig sqlDbConfig, string name) { return (sqlDbConfig.getFieldValue("Keywords").getFieldValue(name).ToString()); }