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);
        }
Example #2
0
 public void UpdateLink(string politicianKey, string newValue)
 {
     Politicians.UpdateColumn(Politicians.GetColumn(DatabaseColumn), newValue,
                              politicianKey);
 }
Example #3
0
 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)));
 }