Re: Foreign keys [flattened relationship]

From: Jürgen Saar (jsaa..eb.de)
Date: Mon Mar 21 2005 - 05:50:32 EST

  • Next message: Jürgen Saar: "Re: orderby on tomany relation"

    Here a short example for a flattened relationship:

    You have an Order
    the Order is on a Truck
    the Truck is driven by a Driver (normally)

    The RelationGraph

    Order
     -> Truck
      --> Employee (Driver)

    With a flattened relation you can now add a relation
    to the Order, that gives you the Employee-Infos of the Driver
    as relation direct on the Order.

    Hint: Flattened Relations only exist on the ObjEntity

    cayenne-use..bjectstyle.org schrieb am 18.03.05 21:07:33:
    >
    > 1.whats is flattened relationship?

    ______________________________________________________________
    Verschicken Sie romantische, coole und witzige Bilder per SMS!
    Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



    This archive was generated by hypermail 2.0.0 : Mon Mar 21 2005 - 05:50:38 EST