public static string Politicians_Str(string politicianKey, Politicians.Column column) { var value = Politicians.GetColumn(column, politicianKey); if (value == null) { return(string.Empty); } return(value as string); }
public void UpdateLink(string politicianKey, string newValue) { Politicians.UpdateColumn(Politicians.GetColumn(DatabaseColumn), newValue, politicianKey); }
public string GetLinkFromDatabase(string politicianKey) { return (Politicians.GetColumn(Politicians.GetColumn(DatabaseColumn), politicianKey) as string); }
public static string Politicians_Str(string politicianKey, string columnName) { return(Politicians_Str(politicianKey, Politicians.GetColumn(columnName))); }