static private Select ( string tableName, string join, string what, string whereClause, object vars, string orderBy, uint limit ) : List | ||
tableName | string | |
join | string | |
what | string | |
whereClause | string | |
vars | object | |
orderBy | string | |
limit | uint | |
Результат | List |
public List <object[]> Select(string join, string what, string whereClause, object[] vars, string orderBy, uint limit) { return(SqlController.Select(tableName, join, what ?? (join == null ? "*" : tableName + ".*"), whereClause, vars, orderBy, limit)); }
private bool RefreshColumnsByUniqueKey(uint value) { string whereClause = table.additionalKeyHeaders[value - (table.primaryKeyHeaders?.Length ?? 0)].name + "=?a"; List <object[]> newValues = SqlController.Select(table.tableName, null, "*", whereClause, new[] { values[value] }, null, 1); if (newValues != null && newValues.Count > 0) { return(Set(newValues[0])); } Debug.Fail(); return(false); }