ERwin DM9 v9.6

Comments

3 comments

  • Avatar
    Andreas Koppenhoefer (Edited )

    I might be overlooking a better option here, but:

    You can build a custom FET - when doing the forward engineer, choose edit

    go to the Create Entity module and modify it like this:

     

    PushOwner
    ForEachOwnee("Entity", "Name")
    {

    ALL OF THE OLD CODE GOES HERE

    }

    Save as a separate fet, use when needed.

     

    Explanation:

    PushOwner sets the whole model as the current context.

    ForEachOwnee iterates over all child objects of the model, in this case we only want Entities (first parameter).

    We want to sort them according to their name (second parameter).

    We want to do the normal Create Entity procedure (so here goes all the existing code)

     

     

    There might be better ways to do this, but this works.

     

    1
    Comment actions Permalink
  • Avatar
    Lqthinguyen
    Good morning

    I am sorry I tried to follow your instructions meanwhile I assume when you reference the OLD CODE is part of the Oracle11g.fet template.
    Please enlighten me precisely where in the Oracle11g.fet to inject the two lines.

    Thank you

    0
    Comment actions Permalink
  • Avatar
    Lqthinguyen

    Good morning,

    Thank you meanwhile resolve the issue.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk