Ejemplo n.º 1
0
 /// <summary>
 /// Get a comma separated list of values representing the foreign key
 /// </summary>
 /// <param name="row"></param>
 /// <returns></returns>
 public string GetForeignKeyString(object row)
 {
     // Don't do anything if the row is null
     if (row == null)
     {
         return(String.Empty);
     }
     return(Misc.PersistListToCommaSeparatedString(GetForeignKeyValues(row)));
 }
 /// <summary>
 /// Get a comma separated list of values representing the primary key
 /// </summary>
 /// <param name="primaryKeyValues"></param>
 /// <returns></returns>
 public string GetPrimaryKeyString(IList <object> primaryKeyValues)
 {
     return(Misc.PersistListToCommaSeparatedString(primaryKeyValues));
 }