function addForeignKey(target, relatedClassGetter, foreignKey) {
    var foreignKeys = getForeignKeys(target);
    if (!foreignKeys) {
        foreignKeys = [];
    }
    foreignKeys.push({
        relatedClassGetter: relatedClassGetter,
        foreignKey: foreignKey
    });
    setForeignKeys(target, foreignKeys);
}
/**
 * Adds foreign key meta data for specified class
 */
Adds foreign key meta data for specified class
Adds foreign key meta data for specified class
function addForeignKey(target, relatedClassGetter, foreignKey) {
    var foreignKeys = getForeignKeys(target);
    if (!foreignKeys) {
        foreignKeys = [];
    }
    foreignKeys.push({
        relatedClassGetter: relatedClassGetter,
        foreignKey: foreignKey
    });
    setForeignKeys(target, foreignKeys);
}
function addForeignKey ( target , relatedClassGetter , foreignKey ) { var foreignKeys = getForeignKeys ( target ) ; if ( ! foreignKeys ) { foreignKeys = [ ] ; } foreignKeys . push ( { relatedClassGetter : relatedClassGetter , foreignKey : foreignKey } ) ; setForeignKeys ( target , foreignKeys ) ; }
Adds foreign key meta data for specified class
Adds foreign key meta data for specified class