Re: SQL generation of FK constraints for cross-model relationships

From: Guido Neitzer (list..vent-s.net)
Date: Thu Jul 31 2008 - 15:00:31 EDT

  • Next message: David LeBer: "I don't think WOLips loves me anymore..."

    On 31.07.2008, at 11:31, Mike Schrag wrote:

    > It generates for whatever entities are passed into the generator,
    > which is either for the single model (if nothing is selected), or I
    > SUPPOSE you could select across models, but I've never tried. Try
    > selecting all your entities + select the entities in the other model
    > and see if that does it. All this does is call EOF API's, so it's
    > going to do whatever EOF does when handed that set of entities. I
    > suppose I could support selecting multiple models rather than
    > selected entities, too.

    I think that is something in the way the SQL is generated - might have
    to do with the fact, that different models can have different
    connection dictionaries and therefore foreign key constraints would
    not work if you connect to different databases.

    cug

    -- 
    http://www.event-s.net
    



    This archive was generated by hypermail 2.0.0 : Thu Jul 31 2008 - 15:01:36 EDT