GetMappedColumns() public méthode

public GetMappedColumns ( ) : object>.Dictionary
Résultat object>.Dictionary
Exemple #1
0
 private List<string> StringifyValues(TableModel model)
 {
     List<string> parts = new List<string>();
     foreach (Object obj in model.GetMappedColumns().Values)
     {
         StringBuilder builder = new StringBuilder();
         if (obj.GetType() == typeof(String))
         {
             builder.Append("'");
             builder.Append(obj);
             builder.Append("'");
         }
         else
         {
             builder.Append(obj);
         }
         parts.Add(builder.ToString());
     }
     return parts;
 }
Exemple #2
0
 private string joinColumnName(TableModel model)
 {
     return " (" + String.Join(",",model.GetMappedColumns().Keys.ToArray()) + ") ";
 }