static function TableKeyHasMany($table, $tablePKey, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
 {
     if (!is_array($tablePKey)) {
         $tablePKey = array($tablePKey);
     }
     $ar = new ADODB_Active_Record($table, $tablePKey);
     $ar->hasMany($foreignRef, $foreignKey, $foreignClass);
 }